O'Reilly logo
  • QIAN Weishuo thinks this is interesting:

we must use double quotes to preserve the spacing and the newline character (\n).

From

Cover of Linux Shell Scripting Cookbook - Third Edition

Note

下面的结论在zsh中不可复现;必须echo 的时候加双引号才有效