shell 换行与不换行
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!