shell-改变分隔符

转化为换行符:

oldIFS=${IFS};

IFS=$'\n';

命令;

IFS=${oldIFS};

posted @ 2016-10-07 11:56  刨根问底_liang  阅读(2923)  评论(0)    收藏  举报