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-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.gz |
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 @@ /* vi: set sw=4 ts=4: */ /* fold -- wrap each input line to fit in specified width. - - Written by David MacKenzie, djm@gnu.ai.mit.edu. - Copyright (C) 91, 1995-2002 Free Software Foundation, Inc. - - Modified for busybox based on coreutils v 5.0 - Copyright (C) 2003 Glenn McGrath - - Licensed under GPLv2 or later, see file LICENSE in this source tree. -*/ + * + * Written by David MacKenzie, djm@gnu.ai.mit.edu. + * Copyright (C) 91, 1995-2002 Free Software Foundation, Inc. + * + * Modified for busybox based on coreutils v 5.0 + * Copyright (C) 2003 Glenn McGrath + * + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ //config:config FOLD //config: bool "fold (4.6 kb)" //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 @@ /* vi: set sw=4 ts=4: */ /* - * Copyright (C) 2003 Glenn L. McGrath - * Copyright (C) 2003-2004 Erik Andersen + * Copyright (C) 2003 Glenn L. McGrath + * Copyright (C) 2003-2004 Erik Andersen * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ 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 @@ /* vi: set sw=4 ts=4: */ /* printf - format and print data - - Copyright 1999 Dave Cinege - Portions copyright (C) 1990-1996 Free Software Foundation, Inc. - - Licensed under GPLv2 or later, see file LICENSE in this source tree. -*/ - + * + * Copyright 1999 Dave Cinege + * Portions copyright (C) 1990-1996 Free Software Foundation, Inc. + * + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ /* Usage: printf format [argument...] - - A front end to the printf function that lets it be used from the shell. - - Backslash escapes: - - \" = double quote - \\ = backslash - \a = alert (bell) - \b = backspace - \c = produce no further output - \f = form feed - \n = new line - \r = carriage return - \t = horizontal tab - \v = vertical tab - \0ooo = octal number (ooo is 0 to 3 digits) - \xhhh = hexadecimal number (hhh is 1 to 3 digits) - - Additional directive: - - %b = print an argument string, interpreting backslash escapes - - The 'format' argument is re-used as many times as necessary - to convert all of the given arguments. - - David MacKenzie <djm@gnu.ai.mit.edu> -*/ - + * + * A front end to the printf function that lets it be used from the shell. + * + * Backslash escapes: + * + * \" = double quote + * \\ = backslash + * \a = alert (bell) + * \b = backspace + * \c = produce no further output + * \f = form feed + * \n = new line + * \r = carriage return + * \t = horizontal tab + * \v = vertical tab + * \0ooo = octal number (ooo is 0 to 3 digits) + * \xhhh = hexadecimal number (hhh is 1 to 3 digits) + * + * Additional directive: + * + * %b = print an argument string, interpreting backslash escapes + * + * The 'format' argument is re-used as many times as necessary + * to convert all of the given arguments. + * + * David MacKenzie <djm@gnu.ai.mit.edu> + */ /* 19990508 Busy Boxed! Dave Cinege */ //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 @@ /* vi: set sw=4 ts=4: */ /* stty -- change and print terminal line settings - Copyright (C) 1990-1999 Free Software Foundation, Inc. - - Licensed under GPLv2 or later, see file LICENSE in this source tree. -*/ + * Copyright (C) 1990-1999 Free Software Foundation, Inc. + * + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ /* Usage: stty [-ag] [-F device] [setting...] - - Options: - -a Write all current settings to stdout in human-readable form. - -g Write all current settings to stdout in stty-readable form. - -F Open and use the specified device instead of stdin - - If no args are given, write to stdout the baud rate and settings that - have been changed from their defaults. Mode reading and changes - are done on the specified device, or stdin if none was specified. - - David MacKenzie <djm@gnu.ai.mit.edu> - - Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001 -*/ + * + * Options: + * -a Write all current settings to stdout in human-readable form. + * -g Write all current settings to stdout in stty-readable form. + * -F Open and use the specified device instead of stdin + * + * If no args are given, write to stdout the baud rate and settings that + * have been changed from their defaults. Mode reading and changes + * are done on the specified device, or stdin if none was specified. + * + * David MacKenzie <djm@gnu.ai.mit.edu> + * + * Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001 + */ //config:config STTY //config: bool "stty (8.6 kb)" //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 @@ /* vi: set sw=4 ts=4: */ /* - * Copyright (C) 2000 by Glenn McGrath + * Copyright (C) 2000 by Glenn McGrath * - * based on the function base64_encode from http.c in wget v1.6 - * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + * based on the function base64_encode from http.c in wget v1.6 + * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ |