转化为换行符: oldIFS=${IFS}; IFS=$'\n'; 命令; IFS=${oldIFS}; 转载于:https://www.cnblogs.com/DengGao/p/5935668.html