mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 21:15:32 +02:00
echo: added -n, -e examples (#963)
This commit is contained in:
parent
54a666316e
commit
87540fec49
1 changed files with 8 additions and 0 deletions
|
@ -9,3 +9,11 @@
|
|||
- Print a message with environment variables:
|
||||
|
||||
`echo {{"My path is $PATH"}}`
|
||||
|
||||
- Print a message without the trailing newline:
|
||||
|
||||
`echo -n {{"Hello World"}}`
|
||||
|
||||
- Enable interpretation of backslash escapes (special characters):
|
||||
|
||||
`echo -e {{"Column 1\tColumn 2"}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue