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
F173973902: D24157.id69781.diff
Tue, Sep 29, 5:53 PM
F173973772: D24157.id69779.diff
Tue, Sep 29, 5:52 PM
Unknown Object (File)
Wed, Sep 23, 4:12 PM
Unknown Object (File)
Sun, Sep 13, 8:17 PM
Unknown Object (File)
Fri, Sep 11, 5:03 AM
Unknown Object (File)
Tue, Sep 8, 11:18 PM
Unknown Object (File)
Mon, Sep 7, 8:34 AM
Unknown Object (File)
Sun, Sep 6, 1:47 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 Passed
Unit
No Test Coverage
Build Status
Buildable 30049
Build 27860: arc lint + arc unit