tail -f multiple files

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


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).



More information about the Submit mailing list