summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2008-08-08 23:15:52 +0200
committerJim Meyering <meyering@redhat.com>2008-08-11 10:09:56 +0200
commit7ee3d2430add2b84efa1dee4a406e8c30d203fc3 (patch)
tree380f2f0530b4397828ab4680cf67225279633805 /src/echo.c
parentf0f6e14610ff05c422eb28513bec5b12f7ef22be (diff)
downloadcoreutils-7ee3d2430add2b84efa1dee4a406e8c30d203fc3.tar.xz
echo: correct description of \c
* src/echo.c (usage): Correct description of \c. * coreutils.texi (echo invocation): Likewise. * src/echo.c: Remove --help-duplicating comment.
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/echo.c b/src/echo.c
index 21213bf1f..8a6466ea8 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -28,25 +28,6 @@
proper_name ("Brian Fox"), \
proper_name ("Chet Ramey")
-/* echo [-neE] [arg ...]
-Output the ARGs. If -n is specified, the trailing newline is
-suppressed. If the -e option is given, interpretation of the
-following backslash-escaped characters is turned on:
- \a alert (bell)
- \b backspace
- \c suppress trailing newline
- \f form feed
- \n new line
- \r carriage return
- \t horizontal tab
- \v vertical tab
- \\ backslash
- \0NNN the character whose ASCII code is NNN (octal).
-
-You can explicitly turn off the interpretation of the above characters
-on System V systems with the -E option.
-*/
-
/* If true, interpret backslash escapes by default. */
#ifndef DEFAULT_ECHO_TO_XPG
enum { DEFAULT_ECHO_TO_XPG = false };
@@ -86,7 +67,7 @@ If -e is in effect, the following sequences are recognized:\n\
\\b backspace\n\
"), stdout);
fputs (_("\
- \\c suppress trailing newline\n\
+ \\c produce no further output\n\
\\f form feed\n\
\\n new line\n\
\\r carriage return\n\