一、

❯ cat test.txt
15 abc
❯ sed -i 's/.\{3\}//' test.txt
sed: 1: "test.txt": undefined label 'est.txt'

二、解决

❯ sed -i ',' 's/.\{3\}//' test.txt

 

Reference: https://www.cnblogs.com/meitian/p/5907562.html

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-12-05
  • 2021-06-27
  • 2021-09-04
  • 2021-11-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-11-14
  • 2022-12-23
相关资源
相似解决方案