Linux shell去除字符串中所有空格
echo $VAR | sed ‘s/ //g‘
原文:https://www.cnblogs.com/yjd_hycf_space/p/9839494.html