致力于Ubuntu中文推广http://forum.ubuntu.com.cn/
http://forum.ubuntu.com.cn/viewtopic.php?t=184056
代码: 全选
for file in *; do cat $file | sed "s/^[0-9]\{1,\}//g" > $file;#替换行首数字 done
for file in *; do f="new-$file" cat $file | sed "s/^[0-9]\{1,\}//g" > $f; done