小雪崩 发表于 2018-8-29 07:06:18

shell删除每行开始的数字

  例如
  1      haha
  3      hoho
  512嘿嘿
  需求删除前面的数字
  sed -i 's/^* *//'

页: [1]
查看完整版本: shell删除每行开始的数字