linux sed学习笔记删除字符#删除% cat compare.txt |sed s/\%//g#删除行首空格sed s/^[ \t]*//g#删
linux sed学习笔记
删除字符#删除'%'
cat compare.txt |sed 's/\%//g'
#删除行首空格
sed 's/^[ \t]*//g'
#删除行尾空格
sed 's/[ \t]*$//g'
linux sed学习笔记
删除字符#删除'%'
cat compare.txt |sed 's/\%//g'
#删除行首空格
sed 's/^[ \t]*//g'
#删除行尾空格
sed 's/[ \t]*$//g'