shell 换行与不换行

test.sh:

echo -e "hello w orld!"
echo -e "hello wc"
echo "orld!"

输出

bogon:Desktop macname$ ./test.sh
hello w
orld!
hello world!

原文地址:https://www.cnblogs.com/sea-stream/p/11396551.html