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)
Thu, Apr 9, 6:26 PM
Unknown Object (File)
Thu, Apr 9, 11:50 AM
Unknown Object (File)
Sun, Apr 5, 7:34 PM
Unknown Object (File)
Sat, Apr 4, 3:54 AM
Unknown Object (File)
Mon, Mar 23, 11:55 PM
Unknown Object (File)
Fri, Mar 20, 9:16 AM
Unknown Object (File)
Feb 28 2026, 2:12 PM
Unknown Object (File)
Nov 26 2025, 12:13 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