diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-10-05 14:40:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-10-05 14:40:24 +0200 |
commit | ebe6d9d8758d36e03cf39b6587597c67ab778436 (patch) | |
tree | 8f45b962c04005a6c718c583dd59d0ce0323545c /coreutils | |
parent | 099ef9324e88679e0b26f6f13476583e03f53dee (diff) | |
download | busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.gz busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.bz2 busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.zip |
whitespace and comment format fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/fold.c | 18 | ||||
-rw-r--r-- | coreutils/md5_sha1_sum.c | 4 | ||||
-rw-r--r-- | coreutils/printf.c | 68 | ||||
-rw-r--r-- | coreutils/stty.c | 36 | ||||
-rw-r--r-- | coreutils/uuencode.c | 6 |
5 files changed, 65 insertions, 67 deletions
diff --git a/coreutils/fold.c b/coreutils/fold.c index 286db228d..578e5a4b6 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c | |||
@@ -1,14 +1,14 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* fold -- wrap each input line to fit in specified width. | 2 | /* fold -- wrap each input line to fit in specified width. |
3 | 3 | * | |
4 | Written by David MacKenzie, djm@gnu.ai.mit.edu. | 4 | * Written by David MacKenzie, djm@gnu.ai.mit.edu. |
5 | Copyright (C) 91, 1995-2002 Free Software Foundation, Inc. | 5 | * Copyright (C) 91, 1995-2002 Free Software Foundation, Inc. |
6 | 6 | * | |
7 | Modified for busybox based on coreutils v 5.0 | 7 | * Modified for busybox based on coreutils v 5.0 |
8 | Copyright (C) 2003 Glenn McGrath | 8 | * Copyright (C) 2003 Glenn McGrath |
9 | 9 | * | |
10 | Licensed under GPLv2 or later, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | //config:config FOLD | 12 | //config:config FOLD |
13 | //config: bool "fold (4.6 kb)" | 13 | //config: bool "fold (4.6 kb)" |
14 | //config: default y | 14 | //config: default y |
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 89d6cec0b..ccdfd6855 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Copyright (C) 2003 Glenn L. McGrath | 3 | * Copyright (C) 2003 Glenn L. McGrath |
4 | * Copyright (C) 2003-2004 Erik Andersen | 4 | * Copyright (C) 2003-2004 Erik Andersen |
5 | * | 5 | * |
6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
diff --git a/coreutils/printf.c b/coreutils/printf.c index 353cfc608..413273b26 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c | |||
@@ -1,41 +1,39 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* printf - format and print data | 2 | /* printf - format and print data |
3 | 3 | * | |
4 | Copyright 1999 Dave Cinege | 4 | * Copyright 1999 Dave Cinege |
5 | Portions copyright (C) 1990-1996 Free Software Foundation, Inc. | 5 | * Portions copyright (C) 1990-1996 Free Software Foundation, Inc. |
6 | 6 | * | |
7 | Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | |||
10 | /* Usage: printf format [argument...] | 9 | /* Usage: printf format [argument...] |
11 | 10 | * | |
12 | A front end to the printf function that lets it be used from the shell. | 11 | * A front end to the printf function that lets it be used from the shell. |
13 | 12 | * | |
14 | Backslash escapes: | 13 | * Backslash escapes: |
15 | 14 | * | |
16 | \" = double quote | 15 | * \" = double quote |
17 | \\ = backslash | 16 | * \\ = backslash |
18 | \a = alert (bell) | 17 | * \a = alert (bell) |
19 | \b = backspace | 18 | * \b = backspace |
20 | \c = produce no further output | 19 | * \c = produce no further output |
21 | \f = form feed | 20 | * \f = form feed |
22 | \n = new line | 21 | * \n = new line |
23 | \r = carriage return | 22 | * \r = carriage return |
24 | \t = horizontal tab | 23 | * \t = horizontal tab |
25 | \v = vertical tab | 24 | * \v = vertical tab |
26 | \0ooo = octal number (ooo is 0 to 3 digits) | 25 | * \0ooo = octal number (ooo is 0 to 3 digits) |
27 | \xhhh = hexadecimal number (hhh is 1 to 3 digits) | 26 | * \xhhh = hexadecimal number (hhh is 1 to 3 digits) |
28 | 27 | * | |
29 | Additional directive: | 28 | * Additional directive: |
30 | 29 | * | |
31 | %b = print an argument string, interpreting backslash escapes | 30 | * %b = print an argument string, interpreting backslash escapes |
32 | 31 | * | |
33 | The 'format' argument is re-used as many times as necessary | 32 | * The 'format' argument is re-used as many times as necessary |
34 | to convert all of the given arguments. | 33 | * to convert all of the given arguments. |
35 | 34 | * | |
36 | David MacKenzie <djm@gnu.ai.mit.edu> | 35 | * David MacKenzie <djm@gnu.ai.mit.edu> |
37 | */ | 36 | */ |
38 | |||
39 | /* 19990508 Busy Boxed! Dave Cinege */ | 37 | /* 19990508 Busy Boxed! Dave Cinege */ |
40 | 38 | ||
41 | //config:config PRINTF | 39 | //config:config PRINTF |
diff --git a/coreutils/stty.c b/coreutils/stty.c index b6e836364..df23f4cae 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -1,24 +1,24 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* stty -- change and print terminal line settings | 2 | /* stty -- change and print terminal line settings |
3 | Copyright (C) 1990-1999 Free Software Foundation, Inc. | 3 | * Copyright (C) 1990-1999 Free Software Foundation, Inc. |
4 | 4 | * | |
5 | Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | /* Usage: stty [-ag] [-F device] [setting...] | 7 | /* Usage: stty [-ag] [-F device] [setting...] |
8 | 8 | * | |
9 | Options: | 9 | * Options: |
10 | -a Write all current settings to stdout in human-readable form. | 10 | * -a Write all current settings to stdout in human-readable form. |
11 | -g Write all current settings to stdout in stty-readable form. | 11 | * -g Write all current settings to stdout in stty-readable form. |
12 | -F Open and use the specified device instead of stdin | 12 | * -F Open and use the specified device instead of stdin |
13 | 13 | * | |
14 | If no args are given, write to stdout the baud rate and settings that | 14 | * If no args are given, write to stdout the baud rate and settings that |
15 | have been changed from their defaults. Mode reading and changes | 15 | * have been changed from their defaults. Mode reading and changes |
16 | are done on the specified device, or stdin if none was specified. | 16 | * are done on the specified device, or stdin if none was specified. |
17 | 17 | * | |
18 | David MacKenzie <djm@gnu.ai.mit.edu> | 18 | * David MacKenzie <djm@gnu.ai.mit.edu> |
19 | 19 | * | |
20 | Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001 | 20 | * Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001 |
21 | */ | 21 | */ |
22 | //config:config STTY | 22 | //config:config STTY |
23 | //config: bool "stty (8.6 kb)" | 23 | //config: bool "stty (8.6 kb)" |
24 | //config: default y | 24 | //config: default y |
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index d6e077430..aa53b14a6 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Copyright (C) 2000 by Glenn McGrath | 3 | * Copyright (C) 2000 by Glenn McGrath |
4 | * | 4 | * |
5 | * based on the function base64_encode from http.c in wget v1.6 | 5 | * based on the function base64_encode from http.c in wget v1.6 |
6 | * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. | 6 | * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |