shell脚本删除每行开始的数字

例如:

1      haha

3      hoho

512  嘿嘿

 

sed -i 's/^[0-9]* *//'   a.txt

你可能感兴趣的:(linux)