Page MenuHomeFreeBSD

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

Authored by 0mp on Mar 22 2020, 8:39 PM.
Tags
None
Referenced Files
F168473588: D24157.diff
Fri, Aug 28, 2:01 PM
Unknown Object (File)
Wed, Aug 26, 8:57 AM
Unknown Object (File)
Wed, Aug 26, 6:40 AM
Unknown Object (File)
Sun, Aug 16, 1:27 AM
Unknown Object (File)
Tue, Aug 11, 4:14 PM
Unknown Object (File)
Tue, Aug 11, 3:39 PM
Unknown Object (File)
Tue, Aug 11, 5:56 AM
Unknown Object (File)
Tue, Aug 11, 5:00 AM

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable