Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ num(1) — Unisoft V7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

pr(1)

NUM(1)  —  UNIX Programmer’s Manual

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. 

The operation of num may be duplicated with the −n option of the cat(1) command.

EXAMPLE

num filea > fileb

will number the lines of filea and send the output to fileb. 

Num can also be performed with the −n option of the cat command. 

SEE ALSO

cat(1), pr(1)

7th Edition  —  1/27/82

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026