|
|
Numbering each line of a file - Shell Scripting
|
Views : 151
|
|
Tagged in : Shell Scripting
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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...........
   |
|
By Ramya, On - 2011-08-30 |
|
|
|