in reply to Line numbering

Well, if using *nix try
cat -n file
With -b it numbers non-blank lines.

Replies are listed 'Best First'.
Re^2: Line numbering
by Anonymous Monk on Oct 04, 2004 at 12:20 UTC
    And even that can be shortened to:
    nl file
    The -n and -b switches for cat are an example of creature feep.