Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (t - u) tail(1)
+[number][unit]
(Obsolescent) Begins writing from a location that is the specied number of units after
the beginning of the input le.
The default value for number is 10.
The possible values for unit are:
b Species 512-byte blocks
c Species characters, counted byte by byte
k Species 1-kilobyte blocks
l Species lines
m Species characters, counting a multibyte character as a single charac-
ter
The default value for unit is l.
-[number][unit][f]
(Obsolescent) Begins writing from a location that is the specied number of units
before the end of the input le.
The default value for number is 10.
The possible values for unit are:
b Species 512-byte blocks
c Species characters, counted byte by byte
k Species 1-kilobyte blocks
l Species lines
m Species characters, counting a multibyte character as a single charac-
ter
The default value for unit is l. Specifying f has the same effect as specifying the -f ag.
DESCRIPTION
The tail command writes from the named le (or, if no le is specied, from the standard input
le) to the standard output le, beginning at a point you specify. If you do not specify the ags -
f, -r, -number,or+number, tail begins reading 10 lines before the end of the le. - (end of input
le) is the default starting point, l (lines) is the default unit, and 10 is the default number.
By specifying +, you can direct tail to write from the beginning of the input le. By specifying a
number or a unit or both, you can change the point at which tail begins writing.
The unit argument can specify lines, blocks, or characters. The block size is either 512 bytes or 1
kilobyte.
Environment Variables
This command supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and
NLSPATH environment variables.
527188-007 Hewlett-Packard Company 93