TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
How can you echo a newline in batch files?
1 points
by
joseraul
over 8 years ago
1 comment
joseraul
over 8 years ago
Collapse
Bash equivalent is just:<p><pre><code> echo $'hello\nworld' </code></pre> This uses ANSI C quoting <a href="https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html" rel="nofollow">https://www.gnu.org/software/bash/manual/html_node/ANSI_002d...</a> .
评论 #12359187 未加载