echo: added -n, -e examples (#963)
This commit is contained in:

committed by
Waldir Pimenta

parent
54a666316e
commit
87540fec49
@@ -9,3 +9,11 @@
|
|||||||
- Print a message with environment variables:
|
- Print a message with environment variables:
|
||||||
|
|
||||||
`echo {{"My path is $PATH"}}`
|
`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"}}`
|
||||||
|
Reference in New Issue
Block a user