↑↑↑ Home | ↑↑ UNIX | ↑ Updateware |
Differences from the standard tools:
Usage:
nl.pl [ <start> ] [ <file...> ]
Numbers lines in plain text files or stdin, starting with <start>. <start> gives the first line number (non-negative, in decimal) and format if present. It may contain leading spaces or zeros and trailing white space, causing the frame numbers to be formatted accordingly. The default is " 1 ", i.e. space-padded to width 4, right-aligned, starting with 1 and followed by a single space.
seq.pl [ -s <sep> ] <first> <last> [ <step> ]
Output a sequence of integers separated by the string <sep> (default "\n"). <first> gives the first number (non-negative, in decimal) and format. It may contain leading spaces or zeros and trailing white space, causing the numbers to be formatted accordingly. The default is just "1".