diff options
author | Rob Landley <rob@landley.net> | 2021-05-10 07:01:51 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-05-10 07:01:51 -0500 |
commit | 1de4b25999392fd72438177661c63a445a477cdf (patch) | |
tree | d879d194e4435590a7d31ec3b1415447fe29dd9a /toys | |
parent | da9786fc64a4e0c54c3eeba2699f8926943a54f0 (diff) | |
download | toybox-1de4b25999392fd72438177661c63a445a477cdf.tar.gz |
Tighten up echo help text.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/echo.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/toys/posix/echo.c b/toys/posix/echo.c index 9b7b9222..6817ce22 100644 --- a/toys/posix/echo.c +++ b/toys/posix/echo.c @@ -17,23 +17,15 @@ config ECHO help usage: echo [-neE] [ARG...] - Write each argument to stdout, with one space between each, followed - by a newline. + Write each argument to stdout, one space between each, followed by a newline. -n No trailing newline -E Print escape sequences literally (default) -e Process the following escape sequences: - \\ Backslash - \0NNN Octal values (1 to 3 digits) - \a Alert (beep/flash) - \b Backspace - \c Stop output here (avoids trailing newline) - \f Form feed - \n Newline - \r Carriage return - \t Horizontal tab - \v Vertical tab - \xHH Hexadecimal values (1 to 2 digits) + \\ Backslash \0NNN Octal (1-3 digit) \xHH Hex (1-2 digit) + \a Alert (beep/flash) \b Backspace \c Stop here (no \n) + \f Form feed \n Newline \r Carriage return + \t Horizontal tab \v Vertical tab */ #define FOR_echo |