标签:
打印并删除2~1000行
nl /etc/passwd | sed ‘2,1000d‘ |more
删除行首空格
sed ‘s/^[][ ]*//g‘ file
替换分隔符
linux删除指定行&删除行首空格&替换字符
原文地址:http://www.cnblogs.com/jeffry/p/5140451.html