一、
❯ cat test.txt15 abc❯ sed -i 's/.\{3\}//' test.txtsed: 1: "test.txt": undefined label 'est.txt'
二、解决
❯ sed -i ',' 's/.\{3\}//' test.txt
Reference: https://www.cnblogs.com/meitian/p/5907562.html