Page MenuHomeFreeBSD

Use -F instead of -f in tail(1) examples

Authored by 0mp on Sun, Mar 22, 8:39 PM.



Commit message:

Use -F instead of -f in tail(1) examples

There is an example in tail(1) manual page explaining how to use tail(1) to
track the contents of /var/log/messages. The example uses the -f flag to follow
the file. The problem with the -f flag is that it cannot handle the situation
where /var/log/messages is rotated. Hence, use -F instead in the example.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

0mp created this revision.Sun, Mar 22, 8:39 PM
asomers accepted this revision.Sun, Mar 22, 8:55 PM

LGTM, but since the reader already has the man page open, you probably don't need to explain the`-F` flag again.

This revision is now accepted and ready to land.Sun, Mar 22, 8:55 PM
This revision was automatically updated to reflect the committed changes.