diff options
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r-- | coreutils/echo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index b600a1fbd..26a6fbf81 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -55,7 +55,7 @@ extern int echo_main(int argc, char** argv) | |||
55 | * that all of the options specified are actually valid. | 55 | * that all of the options specified are actually valid. |
56 | * Otherwise, the string should just be echoed. | 56 | * Otherwise, the string should just be echoed. |
57 | */ | 57 | */ |
58 | 58 | ||
59 | if (!*(p = *argv + 1)) { /* A single '-', so echo it. */ | 59 | if (!*(p = *argv + 1)) { /* A single '-', so echo it. */ |
60 | goto just_echo; | 60 | goto just_echo; |
61 | } | 61 | } |
@@ -87,7 +87,7 @@ just_echo: | |||
87 | while ((c = *(*argv)++)) { | 87 | while ((c = *(*argv)++)) { |
88 | if (c == eflag) { /* Check for escape seq. */ | 88 | if (c == eflag) { /* Check for escape seq. */ |
89 | if (**argv == 'c') { | 89 | if (**argv == 'c') { |
90 | /* '\c' means cancel newline and | 90 | /* '\c' means cancel newline and |
91 | * ignore all subsequent chars. */ | 91 | * ignore all subsequent chars. */ |
92 | goto DONE; | 92 | goto DONE; |
93 | } | 93 | } |
@@ -141,8 +141,8 @@ DONE: | |||
141 | * notice, this list of conditions and the following disclaimer in the | 141 | * notice, this list of conditions and the following disclaimer in the |
142 | * documentation and/or other materials provided with the distribution. | 142 | * documentation and/or other materials provided with the distribution. |
143 | * | 143 | * |
144 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | 144 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change |
145 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | 145 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> |
146 | * | 146 | * |
147 | * California, Berkeley and its contributors. | 147 | * California, Berkeley and its contributors. |
148 | * 4. Neither the name of the University nor the names of its contributors | 148 | * 4. Neither the name of the University nor the names of its contributors |