test.sh:
echo -e "hello w\norld!"echo -e "hello w\c"echo "orld!"
输出
bogon:Desktop macname$ ./test.shhello world!hello world!
shell 换行与不换行
原文:https://www.cnblogs.com/sea-stream/p/11396551.html