From 36def9125c9adf4049a18105d48715ac8606e1ec Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 27 Oct 2016 19:47:07 -0500 Subject: rtems-docs: Fix many unnecessary back slashes --- shell/file_and_directory.rst | 2 +- shell/general_commands.rst | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'shell') diff --git a/shell/file_and_directory.rst b/shell/file_and_directory.rst index eb4b276..fd63c1e 100644 --- a/shell/file_and_directory.rst +++ b/shell/file_and_directory.rst @@ -1334,7 +1334,7 @@ The format is required and must be surrounded by double quote (" ") marks. It is interpreted as a fprintf-style format string (see*fprintf*), with the following exceptions: -- An asterisk (\*) may not be used as a field width or precision. +- An asterisk (*) may not be used as a field width or precision. - A byte count or field precision is required for each "s" con- version character (unlike the fprintf(3) default which prints the entire string if diff --git a/shell/general_commands.rst b/shell/general_commands.rst index 7024647..eba2c0e 100644 --- a/shell/general_commands.rst +++ b/shell/general_commands.rst @@ -475,34 +475,34 @@ solely for compatibility with other systems. Only one of the options *-n* and If any of the following sequences of characters is encountered during output, the sequence is not output. Instead, the specified action is performed: -*\\b* +*\b* A backspace character is output. -*\\c* +*\c* Subsequent output is suppressed. This is normally used at the end of the last argument to suppress the trailing newline that echo would otherwise output. -*\\f* +*\f* Output a form feed. -*\\n* +*\n* Output a newline character. -*\\r* +*\r* Output a carriage return. -*\\t* +*\t* Output a (horizontal) tab character. -*\\v* +*\v* Output a vertical tab. -*\\0digits* +*\0digits* Output the character whose value is given by zero to three digits. If there are zero digits, a nul character is output. -*\\\\* +*\\* Output a backslash. **EXIT STATUS:** @@ -511,7 +511,7 @@ This command returns 0 on success and non-zero if an error is encountered. **NOTES:** -The octal character escape mechanism (\\0digits) differs from the C language +The octal character escape mechanism (\0digits) differs from the C language mechanism. There is no way to force ``echo`` to treat its arguments literally, rather than -- cgit v1.2.3