number, Number - number the rows in a list or table
SYNOPSIS
number [ -n ] [ -fc ] [-Dn] [ column_name ] < tableorlist
Number [ -n ] [ -fc ] [-Dn] [ column_name ] < tableorlist
DESCRIPTION
number
inserts a new column named
number
containing row numbers
at the beginning of the table or list.
Number
inserts a new column named
Number
containing row numbers
at the beginning of the table or list.
The name by which this command is called
determines the way the column name will print.
OPTIONS
- -n
- begin numbering at
n.
- -fc
- c
(not TAB) is the column separation character.
- -Dn
- turn on debugging at level n, or 1 if n
is not specified.
- column_name
- name the new number column column_name, instead of the
default `number' or `Number'.
When
Number
is called with a column_name argument, the first letter
will be uppercase in the output.
EXAMPLE
$ Number -23 item < inventory
Item Amount Cost Value Description
---- ------ ---- ----- -----------
23 4 50.1 rubber gloves
24 100 5.23 500 test tubes
25 5 80 400 clamps
26 23 19 437 plates
27 99 24 2376 cleaning cloth
28 89 147 13083 bunsen burners
29 5 175 875 scales
SEE ALSO