test.sh:

echo -e "hello w\norld!"
echo -e "hello w\c"
echo "orld!"

 

输出

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

相关文章:

  • 2022-02-10
  • 2021-06-26
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2023-02-16
  • 2022-12-23
  • 2022-02-05
猜你喜欢
  • 2021-07-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案