aboutsummaryrefslogtreecommitdiff
path: root/coreutils/echo.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/echo.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r--coreutils/echo.c8
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