Numbering each line of a file - Shell Scripting Views : 151
Tagged in : Shell Scripting
0 0
Send mail
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
By Ramya, On - 2011-08-30



    Login to add Comments .