tail -f multiple files

Andre Nathan andre at digirati.com.br
Fri Nov 12 15:34:07 PST 2004


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





More information about the Submit mailing list