sed命令去除文件每行行首空格

sed -ri 's/^\s*//g' 1.txt

猜你喜欢

转载自www.cnblogs.com/wangylblog/p/13379710.html