test.sh:
echo -e "hello w\norld!"
echo -e "hello w\c"
echo "orld!"
输出
bogon:Desktop macname$ ./test.sh
hello w
orld!
hello world!
test.sh:
echo -e "hello w\norld!"
echo -e "hello w\c"
echo "orld!"
输出
bogon:Desktop macname$ ./test.sh
hello w
orld!
hello world!
转载于:https://www.cnblogs.com/sea-stream/p/11396551.html