regularize format of source file headers, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-09-18 16:28:43 +02:00
parent b63afead44
commit 0c4dbd481a
96 changed files with 158 additions and 246 deletions
-1
View File
@@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config AWK
//config: bool "awk (22 kb)"
//config: default y
+5 -6
View File
@@ -6,10 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
//config:config CMP
//config: bool "cmp (5.4 kb)"
//config: default y
@@ -17,10 +13,10 @@
//config: cmp is used to compare two files and returns the result
//config: to standard output.
//kbuild:lib-$(CONFIG_CMP) += cmp.o
//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_CMP) += cmp.o
//usage:#define cmp_trivial_usage
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
//usage:#define cmp_full_usage "\n\n"
@@ -29,6 +25,9 @@
//usage: "\n for all differing bytes"
//usage: "\n -s Quiet"
/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
#include "libbb.h"
static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";
+2 -4
View File
@@ -12,7 +12,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* The following code uses an algorithm due to Harold Stone,
* which finds a pair of longest identical subsequences in
@@ -75,7 +74,6 @@
* 3*(number of k-candidates installed), typically about
* 6n words for files of length n.
*/
//config:config DIFF
//config: bool "diff (13 kb)"
//config: default y
@@ -97,10 +95,10 @@
//config: This option enables support for directory and subdirectory
//config: comparison.
//kbuild:lib-$(CONFIG_DIFF) += diff.o
//applet:IF_DIFF(APPLET(diff, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_DIFF) += diff.o
//usage:#define diff_trivial_usage
//usage: "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
//usage:#define diff_full_usage "\n\n"
-1
View File
@@ -21,7 +21,6 @@
* -F fuzz (number, default 2)
* [file] which file to patch
*/
//config:config PATCH
//config: bool "patch (9.1 kb)"
//config: default y
+2 -5
View File
@@ -12,7 +12,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
/* Code overview.
*
* Files are laid out to avoid unnecessary function declarations. So for
@@ -29,7 +28,6 @@
*
* sed_main() is where external code calls into this, with a command line.
*/
/* Supported features and commands in this version of sed:
*
* - comments ('#')
@@ -55,7 +53,6 @@
* http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
* http://sed.sourceforge.net/sedfaq3.html
*/
//config:config SED
//config: bool "sed (12 kb)"
//config: default y
@@ -63,10 +60,10 @@
//config: sed is used to perform text transformations on a file
//config: or input from a pipeline.
//kbuild:lib-$(CONFIG_SED) += sed.o
//applet:IF_SED(APPLET(sed, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_SED) += sed.o
//usage:#define sed_trivial_usage
//usage: "[-i[SFX]] [-nrE] [-f FILE]... [-e CMD]... [FILE]...\n"
//usage: "or: sed [-i[SFX]] [-nrE] CMD [FILE]..."
-2
View File
@@ -5,7 +5,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* Things To Do:
* EXINIT
@@ -19,7 +18,6 @@
* ":r !cmd" and "!cmd" to filter text through an external command
* An "ex" line oriented mode- maybe using "cmdedit"
*/
//config:config VI
//config: bool "vi (22 kb)"
//config: default y