Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 12:12:51 -0800
From:      Sam Leffler <sam@errno.com>
To:        Ceri Davies <ceri@submonkey.net>
Cc:        Paul Richards <paul@freebsd.org>
Subject:   Re: cvs commit: src/usr.bin/tail extern.h forward.c tail.c
Message-ID:  <200411041212.52277.sam@errno.com>
In-Reply-To: <20041104200349.GP57641@submonkey.net>
References:  <200411041918.iA4JIJsd028943@repoman.freebsd.org> <200411041208.51978.sam@errno.com> <20041104200349.GP57641@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411041212.52277.sam>