On Wed, Mar 19, 2003 at 12:08:01PM +0100, Joris Vandalon wrote:
> > -l kills buffered output, i.e. waiting for a large amount of data before
> >    it starts writing
> 
> -l doesnt kill bufferd output, in contrary, it makes the output bufferd.
> 
>        -l     Make  stdout  line buffered.  Useful if you want to see the data
>               while capturing it.  E.g.,
>               ``tcpdump  -l  |  tee     dat''     or     ``tcpdump  -l       >
>               dat  &  tail  -f  dat''.

Line buffered indeed. It does not make much sense to make it completely
unbuffered because the output is ine oriented.

Internally tcpdump uses setvbuf(). When not called the stdio mode is fully
buffered which is even worse.

-Guido

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to