Linux shell去除字符串中所有空格

Linux shell去除字符串中所有空格

 

echo $VAR | sed 's/ //g'

posted @ 2018-10-23 21:25  fcyh  阅读(28777)  评论(0编辑  收藏  举报