]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use -F instead of -f in tail(1) examples
author0mp <0mp@FreeBSD.org>
Sun, 22 Mar 2020 21:51:50 +0000 (21:51 +0000)
committer0mp <0mp@FreeBSD.org>
Sun, 22 Mar 2020 21:51:50 +0000 (21:51 +0000)
commit8abb76e9e06b43bac6a377fba2cff6ef51a14818
tree9f7c2a9e557f73b8a193ef6183b9682d1065a750
parenta117df3e30c7b5d98aefb022aafae5131fdcb6b0
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.

Reviewed by: asomers
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D24157
usr.bin/tail/tail.1