Friday, 15 July 2011

bash - how do i delete the numbers at the begining of a each line file? -



bash - how do i delete the numbers at the begining of a each line file? -

if file contains numbers @ begining of each line :

1 hello wolrd! 2 gjdshjkjkgn*90& 3 {)/>husdfghjhs

and on

how delete line numbers file.

how sed:

sed 's/^[0-9]*//'

bash shell

No comments:

Post a Comment