cvs commit: src/usr.bin/tail extern.h forward.c tail.c

Sam Leffler sam at errno.com
Thu Nov 4 12:05:25 PST 2004


On Thursday 04 November 2004 12:03 pm, Ceri Davies wrote:
> On Thu, Nov 04, 2004 at 12:08:51PM -0800, Sam Leffler wrote:
> > On Thursday 04 November 2004 11:18 am, Paul Richards wrote:
> > > paul        2004-11-04 19:18:19 UTC
> > >
> > >   FreeBSD src repository
> > >
> > >   Modified files:
> > >     usr.bin/tail         extern.h forward.c tail.c
> > >   Log:
> > >   Add support for following more than one file i.e.
> > >   tail -f file1 file2
> > >
> > >   Revision  Changes    Path
> > >   1.9       +10 -1     src/usr.bin/tail/extern.h
> > > http://cvsweb.FreeBSD.org/src/usr.bin/tail/extern.h.diff?r1=1.8&r2=1.9
> > >   1.35      +160 -88   src/usr.bin/tail/forward.c
> > > http://cvsweb.FreeBSD.org/src/usr.bin/tail/forward.c.diff?r1=1.34&r2=1.
> > >35 1.18      +30 -7     src/usr.bin/tail/tail.c
> > > http://cvsweb.FreeBSD.org/src/usr.bin/tail/tail.c.diff?r1=1.17&r2=1.18
> >
> > Why is this better than
> >
> > tail -f file1&
> > tail -f file2
>
> It tells you which file you're getting output from.

Why not just add an option to tag output with the filename?

 Sam


More information about the cvs-src mailing list