Shell 终端字符串换行

Shell 终端字符串换行方法。

1$ DATA=$'hello\nworld'
2$ echo $DATA
3hello
4world
razonyang
2024年7月23日星期二 2020年1月30日星期四