in reply to Re: removing lines from a file
in thread removing lines from a file
If you do the fifo alternative, be careful to some log rotate application DO NOT rotate the fifo. Using the fifo you can easily dismiss the lines you don't want to store. If the application can output to STDOUT, you can redirect STDOUT to SDERR and read it (as STDIN is buffered) and then dismiss all lines you don't bother.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: removing lines from a file
by polettix (Vicar) on Jun 22, 2005 at 20:53 UTC | |
|
Re^2: removing lines from a file
by rev_1318 (Chaplain) on Jun 22, 2005 at 21:15 UTC | |
by ministry (Scribe) on Jun 23, 2005 at 14:27 UTC |