sed 替换多个空格为一个

sed -i 's/[ ][ ]*/ /g'  file.txt
相关文章
相关标签/搜索