Page MenuHomeFreeBSD

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

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

Details

Summary

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.