From 7ee3d2430add2b84efa1dee4a406e8c30d203fc3 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 8 Aug 2008 23:15:52 +0200 Subject: 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. --- src/echo.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'src/echo.c') 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\ -- cgit v1.2.3-54-g00ecf