From owner-cvs-all@FreeBSD.ORG Thu Nov 4 20:05:25 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0006816A4CE; Thu, 4 Nov 2004 20:05:24 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id C80AD43D2F; Thu, 4 Nov 2004 20:05:24 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id iA4K5OWi036460 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 4 Nov 2004 12:05:24 -0800 (PST) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: Ceri Davies Date: Thu, 4 Nov 2004 12:12:51 -0800 User-Agent: KMail/1.7 References: <200411041918.iA4JIJsd028943@repoman.freebsd.org> <200411041208.51978.sam@errno.com> <20041104200349.GP57641@submonkey.net> In-Reply-To: <20041104200349.GP57641@submonkey.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411041212.52277.sam@errno.com> cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: Paul Richards Subject: Re: cvs commit: src/usr.bin/tail extern.h forward.c tail.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 20:05:25 -0000 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