aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-23 20:32:09 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-23 20:32:09 +0000
commitb80bdec29037155df3cda15949b812b9299fdab6 (patch)
tree68208146cb391cdc03aaaa89c63f4cdecf70255a
parent85c4e72ec3a999d9ba8641b6f141c43621d9ea2b (diff)
downloadbusybox-w32-b80bdec29037155df3cda15949b812b9299fdab6.tar.gz
busybox-w32-b80bdec29037155df3cda15949b812b9299fdab6.tar.bz2
busybox-w32-b80bdec29037155df3cda15949b812b9299fdab6.zip
Patch from larry to fix some grammar errors.
git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--Config.h8
-rw-r--r--Config.h.Hurd4
-rw-r--r--TODO2
-rw-r--r--applets/busybox.c2
-rw-r--r--applets/usage.h20
-rw-r--r--archival/tar.c12
-rw-r--r--busybox.c2
-rw-r--r--coreutils/date.c2
-rw-r--r--coreutils/ls.c2
-rw-r--r--date.c2
-rw-r--r--debian/Config.h-deb4
-rw-r--r--debian/Config.h-static4
-rw-r--r--debian/Config.h-udeb4
-rw-r--r--debian/control12
-rw-r--r--docs/busybox.sgml6
-rw-r--r--docs/contributing.txt6
-rw-r--r--dutmp.c2
-rw-r--r--editors/sed.c2
-rw-r--r--include/usage.h20
-rw-r--r--init.c4
-rw-r--r--init/init.c4
-rw-r--r--lash.c4
-rw-r--r--libbb/parse_mode.c2
-rw-r--r--ls.c2
-rw-r--r--miscutils/dutmp.c2
-rw-r--r--procps/ps.c2
-rw-r--r--ps.c2
-rw-r--r--sed.c2
-rw-r--r--shell/lash.c4
-rw-r--r--tar.c12
-rw-r--r--tests/testcases2
-rw-r--r--usage.h20
32 files changed, 89 insertions, 89 deletions
diff --git a/Config.h b/Config.h
index d35f1a4bf..f506bc558 100644
--- a/Config.h
+++ b/Config.h
@@ -2,8 +2,8 @@
2// This file defines the feature set to be compiled into busybox. 2// This file defines the feature set to be compiled into busybox.
3// When you turn things off here, they won't be compiled in at all. 3// When you turn things off here, they won't be compiled in at all.
4// 4//
5//// This file is parsed by sed. You MUST use single line comments. 5//// This file is parsed by sed. You MUST use single line comments.
6// i.e. //#define BB_BLAH 6// i.e., //#define BB_BLAH
7// 7//
8// 8//
9// BusyBox Applications 9// BusyBox Applications
@@ -229,7 +229,7 @@
229#define BB_FEATURE_NFSMOUNT 229#define BB_FEATURE_NFSMOUNT
230// 230//
231// Enable support forced filesystem unmounting 231// Enable support forced filesystem unmounting
232// (i.e. in case of an unreachable NFS system). 232// (i.e., in case of an unreachable NFS system).
233#define BB_FEATURE_MOUNT_FORCE 233#define BB_FEATURE_MOUNT_FORCE
234// 234//
235// Enable support for creation of tar files. 235// Enable support for creation of tar files.
@@ -296,7 +296,7 @@
296// 296//
297// Support for uClinux memory usage optimization, which will load the image 297// Support for uClinux memory usage optimization, which will load the image
298// directly into the kernel memory. This divides memory requrements by three. 298// directly into the kernel memory. This divides memory requrements by three.
299// If you are not running uClinux (i.e. your CPU has an MMU) leave this 299// If you are not running uClinux (i.e., your CPU has an MMU) leave this
300// disabled... 300// disabled...
301//#define BB_FEATURE_INSMOD_LOADINKMEM 301//#define BB_FEATURE_INSMOD_LOADINKMEM
302// 302//
diff --git a/Config.h.Hurd b/Config.h.Hurd
index 87be05f63..837c807cc 100644
--- a/Config.h.Hurd
+++ b/Config.h.Hurd
@@ -7,7 +7,7 @@
7// When you turn things off here, they won't be compiled in at all. 7// When you turn things off here, they won't be compiled in at all.
8// 8//
9//// This file is parsed by sed. You MUST use single line comments. 9//// This file is parsed by sed. You MUST use single line comments.
10// i.e. //#define BB_BLAH 10// i.e., //#define BB_BLAH
11// 11//
12// 12//
13// BusyBox Applications 13// BusyBox Applications
@@ -208,7 +208,7 @@
208//#define BB_FEATURE_NFSMOUNT 208//#define BB_FEATURE_NFSMOUNT
209// 209//
210// Enable support forced filesystem unmounting 210// Enable support forced filesystem unmounting
211// (i.e. in case of an unreachable NFS system). 211// (i.e., in case of an unreachable NFS system).
212#define BB_FEATURE_MOUNT_FORCE 212#define BB_FEATURE_MOUNT_FORCE
213// 213//
214// Enable support for creation of tar files. 214// Enable support for creation of tar files.
diff --git a/TODO b/TODO
index 47ffe46de..7237ab736 100644
--- a/TODO
+++ b/TODO
@@ -42,7 +42,7 @@ Run the following:
42 rm -f busybox && make LDFLAGS+=-nostdlib 2>&1 | \ 42 rm -f busybox && make LDFLAGS+=-nostdlib 2>&1 | \
43 sed -ne 's/.*undefined reference to `\(.*\)..*/\1/gp' | sort | uniq 43 sed -ne 's/.*undefined reference to `\(.*\)..*/\1/gp' | sort | uniq
44 44
45reveals the list of all external (i.e. libc) things that BusyBox depends on. 45reveals the list of all external (i.e., libc) things that BusyBox depends on.
46It would be a very nice thing to reduce this list to an absolute minimum, to 46It would be a very nice thing to reduce this list to an absolute minimum, to
47reduce the footprint of busybox, especially when staticly linking with 47reduce the footprint of busybox, especially when staticly linking with
48libraries such as uClibc. 48libraries such as uClibc.
diff --git a/applets/busybox.c b/applets/busybox.c
index 9cc884854..f3d0c4c2f 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
76 76
77#ifdef BB_SH 77#ifdef BB_SH
78 /* Add in a special case hack -- whenever **argv == '-' 78 /* Add in a special case hack -- whenever **argv == '-'
79 * (i.e. '-su' or '-sh') always invoke the shell */ 79 * (i.e., '-su' or '-sh') always invoke the shell */
80 if (**argv == '-' && *(*argv+1)!= '-') { 80 if (**argv == '-' && *(*argv+1)!= '-') {
81 applet_name = "sh"; 81 applet_name = "sh";
82 } 82 }
diff --git a/applets/usage.h b/applets/usage.h
index aa66d3733..da09c72c6 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -165,7 +165,7 @@
165#define dc_full_usage \ 165#define dc_full_usage \
166 "This is a Tiny RPN calculator that understands the\n" \ 166 "This is a Tiny RPN calculator that understands the\n" \
167 "following operations: +, -, /, *, and, or, not, eor.\n" \ 167 "following operations: +, -, /, *, and, or, not, eor.\n" \
168 "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16" 168 "i.e., 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16"
169#define dc_example_usage \ 169#define dc_example_usage \
170 "$ dc 2 2 +\n" \ 170 "$ dc 2 2 +\n" \
171 "4\n" \ 171 "4\n" \
@@ -221,7 +221,7 @@
221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
222 "\t-m\tprint sizes in megabytes\n" \ 222 "\t-m\tprint sizes in megabytes\n" \
223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
224 "\n\t-k\tprint sizes in kilobytes(compatability)") 224 "\n\t-k\tprint sizes in kilobytes(compatibility)")
225#define df_example_usage \ 225#define df_example_usage \
226 "$ df\n" \ 226 "$ df\n" \
227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \ 227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \
@@ -275,7 +275,7 @@
275 "\t-f\tDisplay control field name starting with [argument]\n" \ 275 "\t-f\tDisplay control field name starting with [argument]\n" \
276 "\t-I\tDisplay the control filenamed [argument]\n" \ 276 "\t-I\tDisplay the control filenamed [argument]\n" \
277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \ 277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \
278 "\t-x\tExctract packages filesystem tree to directory\n" \ 278 "\t-x\tExtract packages filesystem tree to directory\n" \
279 "\t-X\tVerbose extract" 279 "\t-X\tVerbose extract"
280#define dpkg_deb_example_usage \ 280#define dpkg_deb_example_usage \
281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" 281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"
@@ -292,7 +292,7 @@
292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
293 "\t-m\tprint sizes in megabytes\n" \ 293 "\t-m\tprint sizes in megabytes\n" \
294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
295 "\n\t-k\tprint sizes in kilobytes(compatability)") 295 "\n\t-k\tprint sizes in kilobytes(compatibility)")
296#define du_example_usage \ 296#define du_example_usage \
297 "$ du\n" \ 297 "$ du\n" \
298 "16 ./CVS\n" \ 298 "16 ./CVS\n" \
@@ -317,7 +317,7 @@
317 "[FILE]" 317 "[FILE]"
318#define dutmp_full_usage \ 318#define dutmp_full_usage \
319 "Dump utmp file format (pipe delimited) from FILE\n" \ 319 "Dump utmp file format (pipe delimited) from FILE\n" \
320 "or stdin to stdout. (i.e. 'dutmp /var/run/utmp')" 320 "or stdin to stdout. (i.e., 'dutmp /var/run/utmp')"
321#define dutmp_example_usage \ 321#define dutmp_example_usage \
322 "$ dutmp /var/run/utmp\n" \ 322 "$ dutmp /var/run/utmp\n" \
323 "8|7||si|||0|0|0|955637625|760097|0\n" \ 323 "8|7||si|||0|0|0|955637625|760097|0\n" \
@@ -334,7 +334,7 @@
334 "Prints the specified ARGs to stdout\n\n" \ 334 "Prints the specified ARGs to stdout\n\n" \
335 "Options:\n" \ 335 "Options:\n" \
336 "\t-n\tsuppress trailing newline\n" \ 336 "\t-n\tsuppress trailing newline\n" \
337 "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n" \ 337 "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
338 "\t-E\tdisable interpretation of backslash-escaped characters" 338 "\t-E\tdisable interpretation of backslash-escaped characters"
339#define echo_example_usage \ 339#define echo_example_usage \
340 "$ echo "Erik is cool"\n" \ 340 "$ echo "Erik is cool"\n" \
@@ -713,7 +713,7 @@
713" sysinit actions are completed before continuing. Following the\n" \ 713" sysinit actions are completed before continuing. Following the\n" \
714" completion of all sysinit actions, all 'wait' actions are run.\n" \ 714" completion of all sysinit actions, all 'wait' actions are run.\n" \
715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \ 715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \
716" the specified task completes. 'once' actions are asyncronous,\n" \ 716" the specified task completes. 'once' actions are asynchronous,\n" \
717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \ 717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \
718" actions are run when the system detects that someone on the system\n" \ 718" actions are run when the system detects that someone on the system\n" \
719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \ 719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \
@@ -949,7 +949,7 @@
949 USAGE_HUMAN_READABLE( \ 949 USAGE_HUMAN_READABLE( \
950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
952 "\t-k\tprint sizes in kilobytes(compatability)") 952 "\t-k\tprint sizes in kilobytes(compatibility)")
953 953
954#define lsmod_trivial_usage \ 954#define lsmod_trivial_usage \
955 "" 955 ""
@@ -1061,7 +1061,7 @@
1061 "[-q] TEMPLATE" 1061 "[-q] TEMPLATE"
1062#define mktemp_full_usage \ 1062#define mktemp_full_usage \
1063 "Creates a temporary file with its name based on TEMPLATE.\n" \ 1063 "Creates a temporary file with its name based on TEMPLATE.\n" \
1064 "TEMPLATE is any name with six `Xs' (i.e. /tmp/temp.XXXXXX)." 1064 "TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)."
1065#define mktemp_example_usage \ 1065#define mktemp_example_usage \
1066 "$ mktemp /tmp/temp.XXXXXX\n" \ 1066 "$ mktemp /tmp/temp.XXXXXX\n" \
1067 "/tmp/temp.mWiLjM\n" \ 1067 "/tmp/temp.mWiLjM\n" \
@@ -1608,7 +1608,7 @@
1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \ 1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \
1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \ 1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \
1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \ 1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \
1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e. unreachable NFS server)") \ 1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e., unreachable NFS server)") \
1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)") 1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)")
1613#define umount_example_usage \ 1613#define umount_example_usage \
1614 "$ umount /dev/hdc1 \n" 1614 "$ umount /dev/hdc1 \n"
diff --git a/archival/tar.c b/archival/tar.c
index 282656fe7..9e1270cca 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -4,7 +4,7 @@
4 * 4 *
5 * Note, that as of BusyBox-0.43, tar has been completely rewritten from the 5 * Note, that as of BusyBox-0.43, tar has been completely rewritten from the
6 * ground up. It still has remnents of the old code lying about, but it is 6 * ground up. It still has remnents of the old code lying about, but it is
7 * very different now (i.e. cleaner, less global variables, etc) 7 * very different now (i.e., cleaner, less global variables, etc.)
8 * 8 *
9 * Copyright (C) 1999,2000,2001 by Lineo, inc. 9 * Copyright (C) 1999,2000,2001 by Lineo, inc.
10 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> 10 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
@@ -121,7 +121,7 @@ struct TarInfo
121 gid_t gid; /* Numeric GID */ 121 gid_t gid; /* Numeric GID */
122 size_t size; /* Size of file */ 122 size_t size; /* Size of file */
123 time_t mtime; /* Last-modified time */ 123 time_t mtime; /* Last-modified time */
124 enum TarFileType type; /* Regular, directory, link, etc */ 124 enum TarFileType type; /* Regular, directory, link, etc. */
125 char * linkname; /* Name for symbolic and hard links */ 125 char * linkname; /* Name for symbolic and hard links */
126 long devmajor; /* Major number for special device */ 126 long devmajor; /* Major number for special device */
127 long devminor; /* Minor number for special device */ 127 long devminor; /* Minor number for special device */
@@ -303,7 +303,7 @@ static void
303fixUpPermissions(TarInfo *header) 303fixUpPermissions(TarInfo *header)
304{ 304{
305 struct utimbuf t; 305 struct utimbuf t;
306 /* Now set permissions etc for the new file */ 306 /* Now set permissions etc. for the new file */
307 chown(header->name, header->uid, header->gid); 307 chown(header->name, header->uid, header->gid);
308 chmod(header->name, header->mode); 308 chmod(header->name, header->mode);
309 /* Reset the time */ 309 /* Reset the time */
@@ -418,7 +418,7 @@ tarExtractHardLink(TarInfo *header, int extractFlag, int tostdoutFlag)
418 return( FALSE); 418 return( FALSE);
419 } 419 }
420 420
421 /* Now set permissions etc for the new directory */ 421 /* Now set permissions etc. for the new directory */
422 fixUpPermissions(header); 422 fixUpPermissions(header);
423 return( TRUE); 423 return( TRUE);
424} 424}
@@ -471,7 +471,7 @@ tarExtractSpecial(TarInfo *header, int extractFlag, int tostdoutFlag)
471 } 471 }
472 } 472 }
473 473
474 /* Now set permissions etc for the new directory */ 474 /* Now set permissions etc. for the new directory */
475 fixUpPermissions(header); 475 fixUpPermissions(header);
476 return( TRUE); 476 return( TRUE);
477} 477}
@@ -952,7 +952,7 @@ writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name,
952 return ( FALSE); 952 return ( FALSE);
953 } 953 }
954 954
955 /* Calculate and store the checksum (i.e. the sum of all of the bytes of 955 /* Calculate and store the checksum (i.e., the sum of all of the bytes of
956 * the header). The checksum field must be filled with blanks for the 956 * the header). The checksum field must be filled with blanks for the
957 * calculation. The checksum field is formatted differently from the 957 * calculation. The checksum field is formatted differently from the
958 * other fields: it has [6] digits, a null, then a space -- rather than 958 * other fields: it has [6] digits, a null, then a space -- rather than
diff --git a/busybox.c b/busybox.c
index 9cc884854..f3d0c4c2f 100644
--- a/busybox.c
+++ b/busybox.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
76 76
77#ifdef BB_SH 77#ifdef BB_SH
78 /* Add in a special case hack -- whenever **argv == '-' 78 /* Add in a special case hack -- whenever **argv == '-'
79 * (i.e. '-su' or '-sh') always invoke the shell */ 79 * (i.e., '-su' or '-sh') always invoke the shell */
80 if (**argv == '-' && *(*argv+1)!= '-') { 80 if (**argv == '-' && *(*argv+1)!= '-') {
81 applet_name = "sh"; 81 applet_name = "sh";
82 } 82 }
diff --git a/coreutils/date.c b/coreutils/date.c
index 93b078b45..6db3e2838 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -199,7 +199,7 @@ int date_main(int argc, char **argv)
199 date_conv_time(&tm_time, date_str); 199 date_conv_time(&tm_time, date_str);
200 } 200 }
201 201
202 /* Correct any day of week and day of year etc fields */ 202 /* Correct any day of week and day of year etc. fields */
203 tm = mktime(&tm_time); 203 tm = mktime(&tm_time);
204 if (tm < 0) 204 if (tm < 0)
205 error_msg_and_die(invalid_date, date_str); 205 error_msg_and_die(invalid_date, date_str);
diff --git a/coreutils/ls.c b/coreutils/ls.c
index c13b225fa..ec8e216fa 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -21,7 +21,7 @@
21/* 21/*
22 * To achieve a small memory footprint, this version of 'ls' doesn't do any 22 * To achieve a small memory footprint, this version of 'ls' doesn't do any
23 * file sorting, and only has the most essential command line switches 23 * file sorting, and only has the most essential command line switches
24 * (i.e. the ones I couldn't live without :-) All features which involve 24 * (i.e., the ones I couldn't live without :-) All features which involve
25 * linking in substantial chunks of libc can be disabled. 25 * linking in substantial chunks of libc can be disabled.
26 * 26 *
27 * Although I don't really want to add new features to this program to 27 * Although I don't really want to add new features to this program to
diff --git a/date.c b/date.c
index 93b078b45..6db3e2838 100644
--- a/date.c
+++ b/date.c
@@ -199,7 +199,7 @@ int date_main(int argc, char **argv)
199 date_conv_time(&tm_time, date_str); 199 date_conv_time(&tm_time, date_str);
200 } 200 }
201 201
202 /* Correct any day of week and day of year etc fields */ 202 /* Correct any day of week and day of year etc. fields */
203 tm = mktime(&tm_time); 203 tm = mktime(&tm_time);
204 if (tm < 0) 204 if (tm < 0)
205 error_msg_and_die(invalid_date, date_str); 205 error_msg_and_die(invalid_date, date_str);
diff --git a/debian/Config.h-deb b/debian/Config.h-deb
index 400895545..5db15f2da 100644
--- a/debian/Config.h-deb
+++ b/debian/Config.h-deb
@@ -3,7 +3,7 @@
3// When you turn things off here, they won't be compiled in at all. 3// When you turn things off here, they won't be compiled in at all.
4// 4//
5//// This file is parsed by sed. You MUST use single line comments. 5//// This file is parsed by sed. You MUST use single line comments.
6// i.e. //#define BB_BLAH 6// i.e., //#define BB_BLAH
7// 7//
8// 8//
9// BusyBox Applications 9// BusyBox Applications
@@ -222,7 +222,7 @@
222#define BB_FEATURE_NFSMOUNT 222#define BB_FEATURE_NFSMOUNT
223// 223//
224// Enable support forced filesystem unmounting 224// Enable support forced filesystem unmounting
225// (i.e. in case of an unreachable NFS system). 225// (i.e., in case of an unreachable NFS system).
226#define BB_FEATURE_MOUNT_FORCE 226#define BB_FEATURE_MOUNT_FORCE
227// 227//
228// use -i (interactive) flag for rm 228// use -i (interactive) flag for rm
diff --git a/debian/Config.h-static b/debian/Config.h-static
index 9a40b6619..4fcd0407c 100644
--- a/debian/Config.h-static
+++ b/debian/Config.h-static
@@ -3,7 +3,7 @@
3// When you turn things off here, they won't be compiled in at all. 3// When you turn things off here, they won't be compiled in at all.
4// 4//
5//// This file is parsed by sed. You MUST use single line comments. 5//// This file is parsed by sed. You MUST use single line comments.
6// i.e. //#define BB_BLAH 6// i.e., //#define BB_BLAH
7// 7//
8// 8//
9// BusyBox Applications 9// BusyBox Applications
@@ -222,7 +222,7 @@
222#define BB_FEATURE_NFSMOUNT 222#define BB_FEATURE_NFSMOUNT
223// 223//
224// Enable support forced filesystem unmounting 224// Enable support forced filesystem unmounting
225// (i.e. in case of an unreachable NFS system). 225// (i.e., in case of an unreachable NFS system).
226#define BB_FEATURE_MOUNT_FORCE 226#define BB_FEATURE_MOUNT_FORCE
227// 227//
228// use -i (interactive) flag for rm 228// use -i (interactive) flag for rm
diff --git a/debian/Config.h-udeb b/debian/Config.h-udeb
index 5184c9f45..00b59aef5 100644
--- a/debian/Config.h-udeb
+++ b/debian/Config.h-udeb
@@ -3,7 +3,7 @@
3// When you turn things off here, they won't be compiled in at all. 3// When you turn things off here, they won't be compiled in at all.
4// 4//
5//// This file is parsed by sed. You MUST use single line comments. 5//// This file is parsed by sed. You MUST use single line comments.
6// i.e. //#define BB_BLAH 6// i.e., //#define BB_BLAH
7// 7//
8// 8//
9// BusyBox Applications 9// BusyBox Applications
@@ -222,7 +222,7 @@
222#define BB_FEATURE_NFSMOUNT 222#define BB_FEATURE_NFSMOUNT
223// 223//
224// Enable support forced filesystem unmounting 224// Enable support forced filesystem unmounting
225// (i.e. in case of an unreachable NFS system). 225// (i.e., in case of an unreachable NFS system).
226#define BB_FEATURE_MOUNT_FORCE 226#define BB_FEATURE_MOUNT_FORCE
227// 227//
228// use -i (interactive) flag for rm 228// use -i (interactive) flag for rm
diff --git a/debian/control b/debian/control
index 48aac821e..09990bf2a 100644
--- a/debian/control
+++ b/debian/control
@@ -13,8 +13,8 @@ Section: utils
13Description: Tiny utilities for small and embedded systems. 13Description: Tiny utilities for small and embedded systems.
14 BusyBox combines tiny versions of many common UNIX utilities into a single 14 BusyBox combines tiny versions of many common UNIX utilities into a single
15 small executable. It provides minimalist replacements for the most common 15 small executable. It provides minimalist replacements for the most common
16 utilities you would usually find on your desktop system (i.e. ls, cp, mv, 16 utilities you would usually find on your desktop system (i.e., ls, cp, mv,
17 mount, tar, etc). The utilities in BusyBox generally have fewer options than 17 mount, tar, etc.). The utilities in BusyBox generally have fewer options than
18 their full-featured GNU cousins; however, the options that are included 18 their full-featured GNU cousins; however, the options that are included
19 provide the expected functionality and behave very much like their GNU 19 provide the expected functionality and behave very much like their GNU
20 counterparts. 20 counterparts.
@@ -33,8 +33,8 @@ Section: shells
33Description: Provides a stand alone rescue shell with tons of builtin utilities. 33Description: Provides a stand alone rescue shell with tons of builtin utilities.
34 BusyBox combines tiny versions of many common UNIX utilities into a single 34 BusyBox combines tiny versions of many common UNIX utilities into a single
35 small executable. It provides minimalist replacements for the most common 35 small executable. It provides minimalist replacements for the most common
36 utilities you would usually find on your desktop system (i.e. ls, cp, mv, 36 utilities you would usually find on your desktop system (i.e., ls, cp, mv,
37 mount, tar, etc). The utilities in BusyBox generally have fewer options than 37 mount, tar, etc.). The utilities in BusyBox generally have fewer options than
38 their full-featured GNU cousins; however, the options that are included 38 their full-featured GNU cousins; however, the options that are included
39 provide the expected functionality and behave very much like their GNU 39 provide the expected functionality and behave very much like their GNU
40 counterparts. 40 counterparts.
@@ -53,8 +53,8 @@ Section: debian-installer
53Description: Tiny utilities for the debian-installer 53Description: Tiny utilities for the debian-installer
54 BusyBox combines tiny versions of many common UNIX utilities into a single 54 BusyBox combines tiny versions of many common UNIX utilities into a single
55 small executable. It provides minimalist replacements for the most common 55 small executable. It provides minimalist replacements for the most common
56 utilities you would usually find on your desktop system (i.e. ls, cp, mv, 56 utilities you would usually find on your desktop system (i.e., ls, cp, mv,
57 mount, tar, etc). The utilities in BusyBox generally have fewer options than 57 mount, tar, etc.). The utilities in BusyBox generally have fewer options than
58 their full-featured GNU cousins; however, the options that are included 58 their full-featured GNU cousins; however, the options that are included
59 provide the expected functionality and behave very much like their GNU 59 provide the expected functionality and behave very much like their GNU
60 counterparts. 60 counterparts.
diff --git a/docs/busybox.sgml b/docs/busybox.sgml
index f794f896c..2d372506b 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -805,7 +805,7 @@
805 805
806 <para> 806 <para>
807 Summarize the disk space used for each FILE or current 807 Summarize the disk space used for each FILE or current
808 directory. Disk space printed in units of 1k (i.e. 808 directory. Disk space printed in units of 1k (i.e.,
809 1024 bytes). 809 1024 bytes).
810 </para> 810 </para>
811 811
@@ -2285,7 +2285,7 @@
2285 2285
2286 <para> 2286 <para>
2287 Creates a temporary file with its name based on 2287 Creates a temporary file with its name based on
2288 TEMPLATE. TEMPLATE is any name with six `Xs' (i.e. 2288 TEMPLATE. TEMPLATE is any name with six `Xs' (i.e.,
2289 /tmp/temp.XXXXXX). 2289 /tmp/temp.XXXXXX).
2290 </para> 2290 </para>
2291 2291
@@ -3407,7 +3407,7 @@
3407 <screen> 3407 <screen>
3408 -a Unmount all file systems 3408 -a Unmount all file systems
3409 -r Try to remount devices as read-only if mount is busy 3409 -r Try to remount devices as read-only if mount is busy
3410 -f Force filesystem umount (i.e. unreachable NFS server) 3410 -f Force filesystem umount (i.e., unreachable NFS server)
3411 -l Do not free loop device (if a loop device has been used) 3411 -l Do not free loop device (if a loop device has been used)
3412 </screen> 3412 </screen>
3413 </para> 3413 </para>
diff --git a/docs/contributing.txt b/docs/contributing.txt
index abfd51684..2e0049289 100644
--- a/docs/contributing.txt
+++ b/docs/contributing.txt
@@ -45,7 +45,7 @@ Archives can be found here:
45 45
46 http://opensource.lineo.com/lists/busybox/ 46 http://opensource.lineo.com/lists/busybox/
47 47
48If you have a serious interest in Busybox, i.e. you are using it day-to-day or 48If you have a serious interest in Busybox, i.e., you are using it day-to-day or
49as part of an embedded project, it would be a good idea to join the mailing 49as part of an embedded project, it would be a good idea to join the mailing
50list. 50list.
51 51
@@ -294,7 +294,7 @@ are some guidelines on how to test your changes.
294 behavior / output is identical between the two. 294 behavior / output is identical between the two.
295 295
296 - Try several different permutations and combinations of the features you're 296 - Try several different permutations and combinations of the features you're
297 adding (i.e. different combinations of command-line switches) and make sure 297 adding (i.e., different combinations of command-line switches) and make sure
298 they all work; make sure one feature does not interfere with another. 298 they all work; make sure one feature does not interfere with another.
299 299
300 - Make sure you test compiling against the source both with the feature 300 - Make sure you test compiling against the source both with the feature
@@ -456,7 +456,7 @@ mailing list if:
456 456
457 - Your changes are broad and touch many different files 457 - Your changes are broad and touch many different files
458 - You are adding a feature 458 - You are adding a feature
459 - Your changes are speculative or experimental (i.e. trying a new algorithm) 459 - Your changes are speculative or experimental (i.e., trying a new algorithm)
460 - You are not the maintainer and your changes make the maintainer cringe 460 - You are not the maintainer and your changes make the maintainer cringe
461 461
462The more of the above are true, the better it is to post a patch to the 462The more of the above are true, the better it is to post a patch to the
diff --git a/dutmp.c b/dutmp.c
index 5732539d2..df7f64d30 100644
--- a/dutmp.c
+++ b/dutmp.c
@@ -49,7 +49,7 @@ extern int dutmp_main(int argc, char **argv)
49 (long)ut.ut_addr); 49 (long)ut.ut_addr);
50 } 50 }
51#else 51#else
52 /* Glibc, uClibc, etc */ 52 /* Glibc, uClibc, etc. */
53 while (read(file, (void*)&ut, sizeof(struct utmp))) { 53 while (read(file, (void*)&ut, sizeof(struct utmp))) {
54 printf("%d|%d|%s|%s|%s|%s|%d|%d|%ld|%ld|%ld|%x\n", 54 printf("%d|%d|%s|%s|%s|%s|%d|%d|%ld|%ld|%ld|%x\n",
55 ut.ut_type, ut.ut_pid, ut.ut_line, 55 ut.ut_type, ut.ut_pid, ut.ut_line,
diff --git a/editors/sed.c b/editors/sed.c
index 16e8e1866..47fb63712 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -617,7 +617,7 @@ static int do_sed_command(const struct sed_cmd *sed_cmd, const char *line)
617 * flag exists in the first place. 617 * flag exists in the first place.
618 */ 618 */
619 619
620 /* if the user specified that they didn't want anything printed (i.e. a -n 620 /* if the user specified that they didn't want anything printed (i.e., a -n
621 * flag and no 'p' flag after the s///), then there's really no point doing 621 * flag and no 'p' flag after the s///), then there's really no point doing
622 * anything here. */ 622 * anything here. */
623 if (be_quiet && !sed_cmd->sub_p) 623 if (be_quiet && !sed_cmd->sub_p)
diff --git a/include/usage.h b/include/usage.h
index aa66d3733..da09c72c6 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -165,7 +165,7 @@
165#define dc_full_usage \ 165#define dc_full_usage \
166 "This is a Tiny RPN calculator that understands the\n" \ 166 "This is a Tiny RPN calculator that understands the\n" \
167 "following operations: +, -, /, *, and, or, not, eor.\n" \ 167 "following operations: +, -, /, *, and, or, not, eor.\n" \
168 "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16" 168 "i.e., 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16"
169#define dc_example_usage \ 169#define dc_example_usage \
170 "$ dc 2 2 +\n" \ 170 "$ dc 2 2 +\n" \
171 "4\n" \ 171 "4\n" \
@@ -221,7 +221,7 @@
221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
222 "\t-m\tprint sizes in megabytes\n" \ 222 "\t-m\tprint sizes in megabytes\n" \
223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
224 "\n\t-k\tprint sizes in kilobytes(compatability)") 224 "\n\t-k\tprint sizes in kilobytes(compatibility)")
225#define df_example_usage \ 225#define df_example_usage \
226 "$ df\n" \ 226 "$ df\n" \
227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \ 227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \
@@ -275,7 +275,7 @@
275 "\t-f\tDisplay control field name starting with [argument]\n" \ 275 "\t-f\tDisplay control field name starting with [argument]\n" \
276 "\t-I\tDisplay the control filenamed [argument]\n" \ 276 "\t-I\tDisplay the control filenamed [argument]\n" \
277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \ 277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \
278 "\t-x\tExctract packages filesystem tree to directory\n" \ 278 "\t-x\tExtract packages filesystem tree to directory\n" \
279 "\t-X\tVerbose extract" 279 "\t-X\tVerbose extract"
280#define dpkg_deb_example_usage \ 280#define dpkg_deb_example_usage \
281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" 281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"
@@ -292,7 +292,7 @@
292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
293 "\t-m\tprint sizes in megabytes\n" \ 293 "\t-m\tprint sizes in megabytes\n" \
294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
295 "\n\t-k\tprint sizes in kilobytes(compatability)") 295 "\n\t-k\tprint sizes in kilobytes(compatibility)")
296#define du_example_usage \ 296#define du_example_usage \
297 "$ du\n" \ 297 "$ du\n" \
298 "16 ./CVS\n" \ 298 "16 ./CVS\n" \
@@ -317,7 +317,7 @@
317 "[FILE]" 317 "[FILE]"
318#define dutmp_full_usage \ 318#define dutmp_full_usage \
319 "Dump utmp file format (pipe delimited) from FILE\n" \ 319 "Dump utmp file format (pipe delimited) from FILE\n" \
320 "or stdin to stdout. (i.e. 'dutmp /var/run/utmp')" 320 "or stdin to stdout. (i.e., 'dutmp /var/run/utmp')"
321#define dutmp_example_usage \ 321#define dutmp_example_usage \
322 "$ dutmp /var/run/utmp\n" \ 322 "$ dutmp /var/run/utmp\n" \
323 "8|7||si|||0|0|0|955637625|760097|0\n" \ 323 "8|7||si|||0|0|0|955637625|760097|0\n" \
@@ -334,7 +334,7 @@
334 "Prints the specified ARGs to stdout\n\n" \ 334 "Prints the specified ARGs to stdout\n\n" \
335 "Options:\n" \ 335 "Options:\n" \
336 "\t-n\tsuppress trailing newline\n" \ 336 "\t-n\tsuppress trailing newline\n" \
337 "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n" \ 337 "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
338 "\t-E\tdisable interpretation of backslash-escaped characters" 338 "\t-E\tdisable interpretation of backslash-escaped characters"
339#define echo_example_usage \ 339#define echo_example_usage \
340 "$ echo "Erik is cool"\n" \ 340 "$ echo "Erik is cool"\n" \
@@ -713,7 +713,7 @@
713" sysinit actions are completed before continuing. Following the\n" \ 713" sysinit actions are completed before continuing. Following the\n" \
714" completion of all sysinit actions, all 'wait' actions are run.\n" \ 714" completion of all sysinit actions, all 'wait' actions are run.\n" \
715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \ 715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \
716" the specified task completes. 'once' actions are asyncronous,\n" \ 716" the specified task completes. 'once' actions are asynchronous,\n" \
717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \ 717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \
718" actions are run when the system detects that someone on the system\n" \ 718" actions are run when the system detects that someone on the system\n" \
719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \ 719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \
@@ -949,7 +949,7 @@
949 USAGE_HUMAN_READABLE( \ 949 USAGE_HUMAN_READABLE( \
950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
952 "\t-k\tprint sizes in kilobytes(compatability)") 952 "\t-k\tprint sizes in kilobytes(compatibility)")
953 953
954#define lsmod_trivial_usage \ 954#define lsmod_trivial_usage \
955 "" 955 ""
@@ -1061,7 +1061,7 @@
1061 "[-q] TEMPLATE" 1061 "[-q] TEMPLATE"
1062#define mktemp_full_usage \ 1062#define mktemp_full_usage \
1063 "Creates a temporary file with its name based on TEMPLATE.\n" \ 1063 "Creates a temporary file with its name based on TEMPLATE.\n" \
1064 "TEMPLATE is any name with six `Xs' (i.e. /tmp/temp.XXXXXX)." 1064 "TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)."
1065#define mktemp_example_usage \ 1065#define mktemp_example_usage \
1066 "$ mktemp /tmp/temp.XXXXXX\n" \ 1066 "$ mktemp /tmp/temp.XXXXXX\n" \
1067 "/tmp/temp.mWiLjM\n" \ 1067 "/tmp/temp.mWiLjM\n" \
@@ -1608,7 +1608,7 @@
1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \ 1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \
1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \ 1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \
1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \ 1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \
1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e. unreachable NFS server)") \ 1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e., unreachable NFS server)") \
1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)") 1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)")
1613#define umount_example_usage \ 1613#define umount_example_usage \
1614 "$ umount /dev/hdc1 \n" 1614 "$ umount /dev/hdc1 \n"
diff --git a/init.c b/init.c
index c26314c8b..370ee7294 100644
--- a/init.c
+++ b/init.c
@@ -752,7 +752,7 @@ static void delete_initAction(initAction * action)
752 752
753/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined, 753/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined,
754 * then parse_inittab() simply adds in some default 754 * then parse_inittab() simply adds in some default
755 * actions(i.e runs INIT_SCRIPT and then starts a pair 755 * actions(i.e., runs INIT_SCRIPT and then starts a pair
756 * of "askfirst" shells). If BB_FEATURE_USE_INITTAB 756 * of "askfirst" shells). If BB_FEATURE_USE_INITTAB
757 * _is_ defined, but /etc/inittab is missing, this 757 * _is_ defined, but /etc/inittab is missing, this
758 * results in the same set of default behaviors. 758 * results in the same set of default behaviors.
@@ -952,7 +952,7 @@ extern int init_main(int argc, char **argv)
952 952
953 /* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined, 953 /* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined,
954 * then parse_inittab() simply adds in some default 954 * then parse_inittab() simply adds in some default
955 * actions(i.e runs INIT_SCRIPT and then starts a pair 955 * actions(i.e., runs INIT_SCRIPT and then starts a pair
956 * of "askfirst" shells */ 956 * of "askfirst" shells */
957 parse_inittab(); 957 parse_inittab();
958 } 958 }
diff --git a/init/init.c b/init/init.c
index c26314c8b..370ee7294 100644
--- a/init/init.c
+++ b/init/init.c
@@ -752,7 +752,7 @@ static void delete_initAction(initAction * action)
752 752
753/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined, 753/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined,
754 * then parse_inittab() simply adds in some default 754 * then parse_inittab() simply adds in some default
755 * actions(i.e runs INIT_SCRIPT and then starts a pair 755 * actions(i.e., runs INIT_SCRIPT and then starts a pair
756 * of "askfirst" shells). If BB_FEATURE_USE_INITTAB 756 * of "askfirst" shells). If BB_FEATURE_USE_INITTAB
757 * _is_ defined, but /etc/inittab is missing, this 757 * _is_ defined, but /etc/inittab is missing, this
758 * results in the same set of default behaviors. 758 * results in the same set of default behaviors.
@@ -952,7 +952,7 @@ extern int init_main(int argc, char **argv)
952 952
953 /* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined, 953 /* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined,
954 * then parse_inittab() simply adds in some default 954 * then parse_inittab() simply adds in some default
955 * actions(i.e runs INIT_SCRIPT and then starts a pair 955 * actions(i.e., runs INIT_SCRIPT and then starts a pair
956 * of "askfirst" shells */ 956 * of "askfirst" shells */
957 parse_inittab(); 957 parse_inittab();
958 } 958 }
diff --git a/lash.c b/lash.c
index f1200ba95..3a421b372 100644
--- a/lash.c
+++ b/lash.c
@@ -1076,9 +1076,9 @@ static int expand_arguments(char *command)
1076 else 1076 else
1077 var = itoa(last_bg_pid); 1077 var = itoa(last_bg_pid);
1078 break; 1078 break;
1079 /* Everything else like $$, $#, $[0-9], etc should all be 1079 /* Everything else like $$, $#, $[0-9], etc. should all be
1080 * expanded by wordexp(), so we can in theory skip that stuff 1080 * expanded by wordexp(), so we can in theory skip that stuff
1081 * here, but just to be on the safe side (i.e. since uClibc 1081 * here, but just to be on the safe side (i.e., since uClibc
1082 * wordexp doesn't do this stuff yet), lets leave it in for 1082 * wordexp doesn't do this stuff yet), lets leave it in for
1083 * now. */ 1083 * now. */
1084 case '$': 1084 case '$':
diff --git a/libbb/parse_mode.c b/libbb/parse_mode.c
index a68b7d3aa..30d2f21cf 100644
--- a/libbb/parse_mode.c
+++ b/libbb/parse_mode.c
@@ -31,7 +31,7 @@
31 31
32 32
33/* This function parses the sort of string you might pass 33/* This function parses the sort of string you might pass
34 * to chmod (i.e. [ugoa]{+|-|=}[rwxst] ) and returns the 34 * to chmod (i.e., [ugoa]{+|-|=}[rwxst] ) and returns the
35 * correct mode described by the string. */ 35 * correct mode described by the string. */
36extern int parse_mode(const char *s, mode_t * theMode) 36extern int parse_mode(const char *s, mode_t * theMode)
37{ 37{
diff --git a/ls.c b/ls.c
index c13b225fa..ec8e216fa 100644
--- a/ls.c
+++ b/ls.c
@@ -21,7 +21,7 @@
21/* 21/*
22 * To achieve a small memory footprint, this version of 'ls' doesn't do any 22 * To achieve a small memory footprint, this version of 'ls' doesn't do any
23 * file sorting, and only has the most essential command line switches 23 * file sorting, and only has the most essential command line switches
24 * (i.e. the ones I couldn't live without :-) All features which involve 24 * (i.e., the ones I couldn't live without :-) All features which involve
25 * linking in substantial chunks of libc can be disabled. 25 * linking in substantial chunks of libc can be disabled.
26 * 26 *
27 * Although I don't really want to add new features to this program to 27 * Although I don't really want to add new features to this program to
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c
index 5732539d2..df7f64d30 100644
--- a/miscutils/dutmp.c
+++ b/miscutils/dutmp.c
@@ -49,7 +49,7 @@ extern int dutmp_main(int argc, char **argv)
49 (long)ut.ut_addr); 49 (long)ut.ut_addr);
50 } 50 }
51#else 51#else
52 /* Glibc, uClibc, etc */ 52 /* Glibc, uClibc, etc. */
53 while (read(file, (void*)&ut, sizeof(struct utmp))) { 53 while (read(file, (void*)&ut, sizeof(struct utmp))) {
54 printf("%d|%d|%s|%s|%s|%s|%d|%d|%ld|%ld|%ld|%x\n", 54 printf("%d|%d|%s|%s|%s|%s|%d|%d|%ld|%ld|%ld|%x\n",
55 ut.ut_type, ut.ut_pid, ut.ut_line, 55 ut.ut_type, ut.ut_pid, ut.ut_line,
diff --git a/procps/ps.c b/procps/ps.c
index 24f806c4b..bf162bbe5 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -94,7 +94,7 @@ static void parse_proc_status(char *S, proc_t * P)
94 else 94 else
95 error_msg("Internal error!"); 95 error_msg("Internal error!");
96 96
97 /* For busybox, ignoring effective, saved, etc */ 97 /* For busybox, ignoring effective, saved, etc. */
98 tmp = strstr(S, "Uid:"); 98 tmp = strstr(S, "Uid:");
99 if (tmp) 99 if (tmp)
100 sscanf(tmp, "Uid:\t%d", &P->ruid); 100 sscanf(tmp, "Uid:\t%d", &P->ruid);
diff --git a/ps.c b/ps.c
index 24f806c4b..bf162bbe5 100644
--- a/ps.c
+++ b/ps.c
@@ -94,7 +94,7 @@ static void parse_proc_status(char *S, proc_t * P)
94 else 94 else
95 error_msg("Internal error!"); 95 error_msg("Internal error!");
96 96
97 /* For busybox, ignoring effective, saved, etc */ 97 /* For busybox, ignoring effective, saved, etc. */
98 tmp = strstr(S, "Uid:"); 98 tmp = strstr(S, "Uid:");
99 if (tmp) 99 if (tmp)
100 sscanf(tmp, "Uid:\t%d", &P->ruid); 100 sscanf(tmp, "Uid:\t%d", &P->ruid);
diff --git a/sed.c b/sed.c
index 16e8e1866..47fb63712 100644
--- a/sed.c
+++ b/sed.c
@@ -617,7 +617,7 @@ static int do_sed_command(const struct sed_cmd *sed_cmd, const char *line)
617 * flag exists in the first place. 617 * flag exists in the first place.
618 */ 618 */
619 619
620 /* if the user specified that they didn't want anything printed (i.e. a -n 620 /* if the user specified that they didn't want anything printed (i.e., a -n
621 * flag and no 'p' flag after the s///), then there's really no point doing 621 * flag and no 'p' flag after the s///), then there's really no point doing
622 * anything here. */ 622 * anything here. */
623 if (be_quiet && !sed_cmd->sub_p) 623 if (be_quiet && !sed_cmd->sub_p)
diff --git a/shell/lash.c b/shell/lash.c
index f1200ba95..3a421b372 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1076,9 +1076,9 @@ static int expand_arguments(char *command)
1076 else 1076 else
1077 var = itoa(last_bg_pid); 1077 var = itoa(last_bg_pid);
1078 break; 1078 break;
1079 /* Everything else like $$, $#, $[0-9], etc should all be 1079 /* Everything else like $$, $#, $[0-9], etc. should all be
1080 * expanded by wordexp(), so we can in theory skip that stuff 1080 * expanded by wordexp(), so we can in theory skip that stuff
1081 * here, but just to be on the safe side (i.e. since uClibc 1081 * here, but just to be on the safe side (i.e., since uClibc
1082 * wordexp doesn't do this stuff yet), lets leave it in for 1082 * wordexp doesn't do this stuff yet), lets leave it in for
1083 * now. */ 1083 * now. */
1084 case '$': 1084 case '$':
diff --git a/tar.c b/tar.c
index 282656fe7..9e1270cca 100644
--- a/tar.c
+++ b/tar.c
@@ -4,7 +4,7 @@
4 * 4 *
5 * Note, that as of BusyBox-0.43, tar has been completely rewritten from the 5 * Note, that as of BusyBox-0.43, tar has been completely rewritten from the
6 * ground up. It still has remnents of the old code lying about, but it is 6 * ground up. It still has remnents of the old code lying about, but it is
7 * very different now (i.e. cleaner, less global variables, etc) 7 * very different now (i.e., cleaner, less global variables, etc.)
8 * 8 *
9 * Copyright (C) 1999,2000,2001 by Lineo, inc. 9 * Copyright (C) 1999,2000,2001 by Lineo, inc.
10 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> 10 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
@@ -121,7 +121,7 @@ struct TarInfo
121 gid_t gid; /* Numeric GID */ 121 gid_t gid; /* Numeric GID */
122 size_t size; /* Size of file */ 122 size_t size; /* Size of file */
123 time_t mtime; /* Last-modified time */ 123 time_t mtime; /* Last-modified time */
124 enum TarFileType type; /* Regular, directory, link, etc */ 124 enum TarFileType type; /* Regular, directory, link, etc. */
125 char * linkname; /* Name for symbolic and hard links */ 125 char * linkname; /* Name for symbolic and hard links */
126 long devmajor; /* Major number for special device */ 126 long devmajor; /* Major number for special device */
127 long devminor; /* Minor number for special device */ 127 long devminor; /* Minor number for special device */
@@ -303,7 +303,7 @@ static void
303fixUpPermissions(TarInfo *header) 303fixUpPermissions(TarInfo *header)
304{ 304{
305 struct utimbuf t; 305 struct utimbuf t;
306 /* Now set permissions etc for the new file */ 306 /* Now set permissions etc. for the new file */
307 chown(header->name, header->uid, header->gid); 307 chown(header->name, header->uid, header->gid);
308 chmod(header->name, header->mode); 308 chmod(header->name, header->mode);
309 /* Reset the time */ 309 /* Reset the time */
@@ -418,7 +418,7 @@ tarExtractHardLink(TarInfo *header, int extractFlag, int tostdoutFlag)
418 return( FALSE); 418 return( FALSE);
419 } 419 }
420 420
421 /* Now set permissions etc for the new directory */ 421 /* Now set permissions etc. for the new directory */
422 fixUpPermissions(header); 422 fixUpPermissions(header);
423 return( TRUE); 423 return( TRUE);
424} 424}
@@ -471,7 +471,7 @@ tarExtractSpecial(TarInfo *header, int extractFlag, int tostdoutFlag)
471 } 471 }
472 } 472 }
473 473
474 /* Now set permissions etc for the new directory */ 474 /* Now set permissions etc. for the new directory */
475 fixUpPermissions(header); 475 fixUpPermissions(header);
476 return( TRUE); 476 return( TRUE);
477} 477}
@@ -952,7 +952,7 @@ writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name,
952 return ( FALSE); 952 return ( FALSE);
953 } 953 }
954 954
955 /* Calculate and store the checksum (i.e. the sum of all of the bytes of 955 /* Calculate and store the checksum (i.e., the sum of all of the bytes of
956 * the header). The checksum field must be filled with blanks for the 956 * the header). The checksum field must be filled with blanks for the
957 * calculation. The checksum field is formatted differently from the 957 * calculation. The checksum field is formatted differently from the
958 * other fields: it has [6] digits, a null, then a space -- rather than 958 * other fields: it has [6] digits, a null, then a space -- rather than
diff --git a/tests/testcases b/tests/testcases
index f636e17ea..24d491c5b 100644
--- a/tests/testcases
+++ b/tests/testcases
@@ -17,7 +17,7 @@
17# 17#
18# - please try to keep applets alphabetized, it will make life easier 18# - please try to keep applets alphabetized, it will make life easier
19# - use the file tester.sh or testcases when you need to do a non-destructive 19# - use the file tester.sh or testcases when you need to do a non-destructive
20# test on a file (i.e. cat, md5sum) 20# test on a file (i.e., cat, md5sum)
21# - try to make the applet you're testing the first thing on the line (this 21# - try to make the applet you're testing the first thing on the line (this
22# not always possible) 22# not always possible)
23# - (???) if you have to create a temporary file, call it TMPFILE 23# - (???) if you have to create a temporary file, call it TMPFILE
diff --git a/usage.h b/usage.h
index aa66d3733..da09c72c6 100644
--- a/usage.h
+++ b/usage.h
@@ -165,7 +165,7 @@
165#define dc_full_usage \ 165#define dc_full_usage \
166 "This is a Tiny RPN calculator that understands the\n" \ 166 "This is a Tiny RPN calculator that understands the\n" \
167 "following operations: +, -, /, *, and, or, not, eor.\n" \ 167 "following operations: +, -, /, *, and, or, not, eor.\n" \
168 "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16" 168 "i.e., 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16"
169#define dc_example_usage \ 169#define dc_example_usage \
170 "$ dc 2 2 +\n" \ 170 "$ dc 2 2 +\n" \
171 "4\n" \ 171 "4\n" \
@@ -221,7 +221,7 @@
221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 221 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
222 "\t-m\tprint sizes in megabytes\n" \ 222 "\t-m\tprint sizes in megabytes\n" \
223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 223 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
224 "\n\t-k\tprint sizes in kilobytes(compatability)") 224 "\n\t-k\tprint sizes in kilobytes(compatibility)")
225#define df_example_usage \ 225#define df_example_usage \
226 "$ df\n" \ 226 "$ df\n" \
227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \ 227 "Filesystem 1k-blocks Used Available Use% Mounted on\n" \
@@ -275,7 +275,7 @@
275 "\t-f\tDisplay control field name starting with [argument]\n" \ 275 "\t-f\tDisplay control field name starting with [argument]\n" \
276 "\t-I\tDisplay the control filenamed [argument]\n" \ 276 "\t-I\tDisplay the control filenamed [argument]\n" \
277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \ 277 "\t-t\tExtract filesystem tree to stdout in tar format\n" \
278 "\t-x\tExctract packages filesystem tree to directory\n" \ 278 "\t-x\tExtract packages filesystem tree to directory\n" \
279 "\t-X\tVerbose extract" 279 "\t-X\tVerbose extract"
280#define dpkg_deb_example_usage \ 280#define dpkg_deb_example_usage \
281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" 281 "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"
@@ -292,7 +292,7 @@
292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 292 "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
293 "\t-m\tprint sizes in megabytes\n" \ 293 "\t-m\tprint sizes in megabytes\n" \
294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 294 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
295 "\n\t-k\tprint sizes in kilobytes(compatability)") 295 "\n\t-k\tprint sizes in kilobytes(compatibility)")
296#define du_example_usage \ 296#define du_example_usage \
297 "$ du\n" \ 297 "$ du\n" \
298 "16 ./CVS\n" \ 298 "16 ./CVS\n" \
@@ -317,7 +317,7 @@
317 "[FILE]" 317 "[FILE]"
318#define dutmp_full_usage \ 318#define dutmp_full_usage \
319 "Dump utmp file format (pipe delimited) from FILE\n" \ 319 "Dump utmp file format (pipe delimited) from FILE\n" \
320 "or stdin to stdout. (i.e. 'dutmp /var/run/utmp')" 320 "or stdin to stdout. (i.e., 'dutmp /var/run/utmp')"
321#define dutmp_example_usage \ 321#define dutmp_example_usage \
322 "$ dutmp /var/run/utmp\n" \ 322 "$ dutmp /var/run/utmp\n" \
323 "8|7||si|||0|0|0|955637625|760097|0\n" \ 323 "8|7||si|||0|0|0|955637625|760097|0\n" \
@@ -334,7 +334,7 @@
334 "Prints the specified ARGs to stdout\n\n" \ 334 "Prints the specified ARGs to stdout\n\n" \
335 "Options:\n" \ 335 "Options:\n" \
336 "\t-n\tsuppress trailing newline\n" \ 336 "\t-n\tsuppress trailing newline\n" \
337 "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n" \ 337 "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
338 "\t-E\tdisable interpretation of backslash-escaped characters" 338 "\t-E\tdisable interpretation of backslash-escaped characters"
339#define echo_example_usage \ 339#define echo_example_usage \
340 "$ echo "Erik is cool"\n" \ 340 "$ echo "Erik is cool"\n" \
@@ -713,7 +713,7 @@
713" sysinit actions are completed before continuing. Following the\n" \ 713" sysinit actions are completed before continuing. Following the\n" \
714" completion of all sysinit actions, all 'wait' actions are run.\n" \ 714" completion of all sysinit actions, all 'wait' actions are run.\n" \
715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \ 715" 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \
716" the specified task completes. 'once' actions are asyncronous,\n" \ 716" the specified task completes. 'once' actions are asynchronous,\n" \
717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \ 717" therefore, init does not wait for them to complete. 'ctrlaltdel'\n" \
718" actions are run when the system detects that someone on the system\n" \ 718" actions are run when the system detects that someone on the system\n" \
719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \ 719" console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \
@@ -949,7 +949,7 @@
949 USAGE_HUMAN_READABLE( \ 949 USAGE_HUMAN_READABLE( \
950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \ 950 "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" \
951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \ 951 "\t-k\tprint sizes in kilobytes(default)") USAGE_NOT_HUMAN_READABLE( \
952 "\t-k\tprint sizes in kilobytes(compatability)") 952 "\t-k\tprint sizes in kilobytes(compatibility)")
953 953
954#define lsmod_trivial_usage \ 954#define lsmod_trivial_usage \
955 "" 955 ""
@@ -1061,7 +1061,7 @@
1061 "[-q] TEMPLATE" 1061 "[-q] TEMPLATE"
1062#define mktemp_full_usage \ 1062#define mktemp_full_usage \
1063 "Creates a temporary file with its name based on TEMPLATE.\n" \ 1063 "Creates a temporary file with its name based on TEMPLATE.\n" \
1064 "TEMPLATE is any name with six `Xs' (i.e. /tmp/temp.XXXXXX)." 1064 "TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)."
1065#define mktemp_example_usage \ 1065#define mktemp_example_usage \
1066 "$ mktemp /tmp/temp.XXXXXX\n" \ 1066 "$ mktemp /tmp/temp.XXXXXX\n" \
1067 "/tmp/temp.mWiLjM\n" \ 1067 "/tmp/temp.mWiLjM\n" \
@@ -1608,7 +1608,7 @@
1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \ 1608 "\nFlags:\n" "\t-a\tUnmount all file systems" \
1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \ 1609 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \
1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \ 1610 "\n\t-r\tTry to remount devices as read-only if mount is busy" \
1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e. unreachable NFS server)") \ 1611 USAGE_MOUNT_FORCE("\n\t-f\tForce umount (i.e., unreachable NFS server)") \
1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)") 1612 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)")
1613#define umount_example_usage \ 1613#define umount_example_usage \
1614 "$ umount /dev/hdc1 \n" 1614 "$ umount /dev/hdc1 \n"