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
F136961911: D24157.id69779.diff
Thu, Nov 20, 8:37 PM
F136905999: D24157.id69779.diff
Thu, Nov 20, 2:11 PM
F136904435: D24157.id69781.diff
Thu, Nov 20, 1:55 PM
F136904029: D24157.id.diff
Thu, Nov 20, 1:51 PM
F136903146: D24157.diff
Thu, Nov 20, 1:43 PM
Unknown Object (File)
Mon, Nov 17, 12:13 AM
Unknown Object (File)
Tue, Nov 11, 2:12 AM
Unknown Object (File)
Sun, Oct 26, 4:25 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