diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-19 13:41:23 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch) | |
tree | c396f760a1e309b5a837359e65c57c4555534d49 /doc_src/echo.txt | |
parent | d7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff) |
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/echo.txt')
-rw-r--r-- | doc_src/echo.txt | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/doc_src/echo.txt b/doc_src/echo.txt index 7b9b0318..d7062716 100644 --- a/doc_src/echo.txt +++ b/doc_src/echo.txt @@ -12,9 +12,13 @@ echo [OPTIONS] [STRING] The following options are available: - `-n`, Do not output a newline + - `-s`, Do not separate arguments with spaces + - `-E`, Disable interpretation of backslash escapes (default) + - `-e`, Enable interpretation of backslash escapes + - `-h`, `--help` Display this help \subsection echo-escapes Escape Sequences @@ -22,20 +26,35 @@ The following options are available: If `-e` is used, the following sequences are recognized: - `\` backslash + - `\a` alert (BEL) + - `\b` backspace + - `\c` produce no further output + - `\e` escape + - `\f` form feed + - `\n` new line + - `\r` carriage return + - `\t` horizontal tab + - `\v` vertical tab + - `\0NNN` byte with octal value NNN (1 to 3 digits) + - `\xHH` byte with hexadecimal value HH (1 to 2 digits) \subsection echo-example Example -`echo 'Hello World'` Print hello world to stdout +\fish +echo 'Hello World' +# Print hello world to stdout -`echo -e 'Top\nBottom'` Print Top and Bottom on separate lines, using an escape sequence +echo -e 'Top\nBottom' +# Print Top and Bottom on separate lines, using an escape sequence +\endfish |