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
Unknown Object (File)
Mon, May 19, 3:14 PM
Unknown Object (File)
May 2 2025, 2:21 PM
Unknown Object (File)
May 1 2025, 10:10 PM
Unknown Object (File)
Apr 28 2025, 4:25 PM
Unknown Object (File)
Apr 26 2025, 6:00 PM
Unknown Object (File)
Apr 26 2025, 11:51 AM
Unknown Object (File)
Apr 24 2025, 2:54 PM
Unknown Object (File)
Apr 18 2025, 9:18 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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable