DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

tail -f multiple files


From: "Andre Nathan" <andre@xxxxxxxxxxxxxxx>
Date: Fri, 12 Nov 2004 21:31:52 -0200 (BRST)

Hi

The patch at [1] adds support to multiple files for the ``-f'' option of
tail, so that it is possible to do

  $ tail -f file1 file2 file3 ...

It was taken from FreeBSD [2], with some minor modifications to fit
DragonFly's style(9) and remove some warnings introduced by the changes
(for example, variables that became unused).

Regards,
Andre

[1]http://andre.people.digirati.com.br/dragonfly/patches/tail.patch
[2]http://www.freebsd.org/cgi/getmsg.cgi?fetch=1528954+0+/usr/local/www/db/text/2004/cvs-all/20041107.cvs-all



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]