linux sed学习笔记
删除字符#删除'%'
cat compare.txt |sed 's/\%//g'
#删除行首空格
sed 's/^[ \t]*//g'
#删除行尾空格
sed 's/[ \t]*$//g'
发布时间: 2013-08-16 14:29:57 作者: rapoo
linux sed学习笔记
删除字符#删除'%'
cat compare.txt |sed 's/\%//g'
#删除行首空格
sed 's/^[ \t]*//g'
#删除行尾空格
sed 's/[ \t]*$//g'