aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/echo.txt
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-09-27 16:56:13 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-09-27 16:56:13 -0700
commit4f4734fc9b6031a2cb71497d615d153b6b89012d (patch)
tree3977fbbfa14bb039b30b325591e9c4a6dfacca2a /doc_src/echo.txt
parent3ac28f2b01f802803521dfadb79bf0b2a05cef08 (diff)
Fix some busted escape sequences in docs, and slightly reformat a few examples
Diffstat (limited to 'doc_src/echo.txt')
-rw-r--r--doc_src/echo.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc_src/echo.txt b/doc_src/echo.txt
index c53d3009..69d6df4e 100644
--- a/doc_src/echo.txt
+++ b/doc_src/echo.txt
@@ -51,8 +51,10 @@ If `-e` is used, the following sequences are recognized:
\fish
echo 'Hello World'
-# Print hello world to stdout
+\endfish
+Print hello world to stdout
-echo -e 'Top\nBottom'
-# Print Top and Bottom on separate lines, using an escape sequence
+\fish
+echo -e 'Top\\nBottom'
\endfish
+Print Top and Bottom on separate lines, using an escape sequence