xref: /original-bsd/old/num/num.1 (revision 53787e02)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)num.1 4.1 (Berkeley) 04/29/85

NUM 1 "4/1/81"
C 4
NAME
num - number lines
SYNOPSIS
num [ file ... ]
DESCRIPTION
The lines in the specified files, or the standard input, are copied to the standard output preceded by line numbers. Tabs remain aligned in the output as the lines are printed preceded by the number blank padded to six digits and then 2 spaces.

Num is actually just the -n option of the cat (1) command.

SEE ALSO
cat(1), pr(1)