Numbering each line of a file

by Ramya 2011-08-30 14:38:18

Numbering each line of a file:

Add numbering for each line of file using the command "SED" like,

sed = $y | sed 'N;';


Just add the above line to number each line of a file in shell script...........
Razz
Razz
Razz
Razz

Tagged in:

847
like
0
dislike
0
mail
flag

You must LOGIN to add comments