7 ms·
Bash equivalent is just: echo $'hello\nworld' This uses ANSI C quoting https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html https://ww
by joseraul 10y ago
Bash equivalent is just:
echo $'hello\nworld'
This uses ANSI C quoting https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html https://www.gnu.org/software/bash/manual/html_node/ANSI_002d... .
- dalke 10y agoDo I understand correctly that you linked to a SO question about how to have the DOS batch command "echo" emit a newline just so you can point out how to do it in a different shell used primarily on a different OS?