首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux sed学习札记

2013-08-16 
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'

热点排行