History log of /freebsd-current/usr.bin/tail/tail.1
Revision Date Author Comments
# 9f20787f 28-Nov-2023 Mateusz Piotrowski <0mp@FreeBSD.org>

tail.1: Add an example for +n 1

MFC after: 3 days
Sponsored by: Klara, Inc.


# 51c27021 28-Nov-2023 Mateusz Piotrowski <0mp@FreeBSD.org>

tail.1: Lint with mandoc(1)

MFC after: 3 days
Sponsored by: Klara, Inc.


# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 643ac419 12-Jul-2022 Xin LI <delphij@FreeBSD.org>

Improve usability of head(1) and tail(1):

- Consistently support -q (quiet) and -v (verbose)
- Allow specifying numbers with SI prefixes supported by expand_number(3)
- Remove 2^31 limit on lines for head(1)

MFC after: 2 weeks
Reviewed by: lwhsu, pauamma, gbe
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D35720


# c0f2b64a 22-Mar-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

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


# 4d40b738 10-Apr-2018 Kyle Evans <kevans@FreeBSD.org>

tail(1): Address mandoc concern (space before punctuation after macro)

X-MFC-With: r332372


# 53128fb4 10-Apr-2018 Kyle Evans <kevans@FreeBSD.org>

tail(1): Add some long options

Add --blocks, --bytes, and --lines long options for -b, -c, and -n
respectively. This improves tail(1)'s compatibility with its GNU counterpart
in a straightforward way.

Reviewed by: eadler (earlier version)
MFC after: 3 days


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# 9ca6ee33 17-Mar-2013 Joel Dahl <joel@FreeBSD.org>

Remove EOL whitespace accidentally introduced in r248393.


# b16958a1 16-Mar-2013 Joel Dahl <joel@FreeBSD.org>

Add a couple of examples.

Obtained from: OpenBSD


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# cf6c5eeb 01-Nov-2009 Christian Brueffer <brueffer@FreeBSD.org>

Use our canonical .Dd format.

Submitted by: Ulrich Spoerlein


# 22da50cf 05-Jun-2009 Brian Somers <brian@FreeBSD.org>

Change the behaviour of -F slightly; it now persists (forever) in
trying to open files rather than giving up when it encounters an
error. ENOENT errors are not reported.

As a result, files that are moved away then recreated are not at
risk of being 'lost' to tail. Files that are recreated and
temporarily have unreadable permissions will be shown when they
are fixed.

This behaviour is consistent with the GNU version of tail but
without the verbiage that goes with the GNU version.

This change also fixes error messages accompanying -f and -F.
They no longer report problems with (null)!

MFC after: 3 weeks


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 61125887 24-Dec-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup revision.


# 2982527d 30-Jun-2006 Ruslan Ermilov <ru@FreeBSD.org>

- Simplify the formatting in the SYNOPSIS.
- Add the forgotten new option in usage().


# aa1d7ce7 29-Jun-2006 Florent Thoumie <flz@FreeBSD.org>

Add a -q option to suppress header lines when multiple files are specified.

Approved by: cperciva (mentor)
MFC after: 1 week


# a866e170 17-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Added the EXIT STATUS section where appropriate.


# 6a3e8b0a 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 6fc8ba94 10-Jun-2002 Juli Mallett <jmallett@FreeBSD.org>

Note that this appeared at least as early as PWB UNIX.

Use the literal string 'PWB UNIX', as we still have no .At macro for it.


# d628d776 15-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: utilize the new .Ex macro.


# 62500372 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# 8fe908ef 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# dbb9d8f8 26-Mar-2000 Philippe Charnier <charnier@FreeBSD.org>

Add DIAGNOSTICS section name


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 3be5f1f5 12-Jul-1999 Nik Clayton <nik@FreeBSD.org>

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# eb1c9439 06-Apr-1998 Peter Wemm <peter@FreeBSD.org>

Add a new -F flag which is a superset of -f. It will cause tail to
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated. This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.


# ea7cc495 13-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Remove trailing \n in warn() string.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources