gavanwanggw

导航

sed 替换多个空格为一个

sed -i 's/[ ][ ]*/ /g'  file.txt

posted on 2017-08-21 11:05  gavanwanggw  阅读(2834)  评论(0编辑  收藏  举报