test.sh:
echo -e "hello w
orld!"
echo -e "hello wc"
echo "orld!"
输出
bogon:Desktop macname$ ./test.sh
hello w
orld!
hello world!
test.sh:
echo -e "hello w
orld!"
echo -e "hello wc"
echo "orld!"
输出
bogon:Desktop macname$ ./test.sh
hello w
orld!
hello world!