[BusyBox-cvs] busybox/editors awk.c, 1.7, 1.8 sed.c, 1.163, 1.164 vi.c, 1.35, 1.36

Erik Andersen andersen at busybox.net
Wed Apr 14 17:51:12 UTC 2004


Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv15466/editors

Modified Files:
	awk.c sed.c vi.c 
Log Message:
Larry Doolittle writes:

This is a bulk spelling fix patch against busybox-1.00-pre10.
If anyone gets a corrupted copy (and cares), let me know and
I will make alternate arrangements.

Erik - please apply.

Authors - please check that I didn't corrupt any meaning.

Package importers - see if any of these changes should be
passed to the upstream authors.

I glossed over lots of sloppy capitalizations, missing apostrophes,
mixed American/British spellings, and German-style compound words.

What is "pretect redefined for test" in cmdedit.c?

Good luck on the 1.00 release!

      - Larry



Index: vi.c
===================================================================
RCS file: /var/cvs/busybox/editors/vi.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- a/vi.c	31 Mar 2004 11:12:51 -0000	1.35
+++ b/vi.c	14 Apr 2004 17:51:09 -0000	1.36
@@ -45,7 +45,7 @@
  *	An "ex" line oriented mode- maybe using "cmdedit"
  */
 
-//----  Feature --------------  Bytes to immplement
+//----  Feature --------------  Bytes to implement
 #ifdef STANDALONE
 #define vi_main			main
 #define CONFIG_FEATURE_VI_COLON	// 4288
@@ -641,7 +641,7 @@
 	p = get_one_address(p, b);
 	while (isblnk(*p))
 		p++;
-	if (*p == ',') {			// is there a address seperator
+	if (*p == ',') {			// is there a address separator
 		p++;
 		while (isblnk(*p))
 			p++;
@@ -1452,7 +1452,7 @@
 	screen = (Byte *) xmalloc(screensize);
 	// initialize the new screen. assume this will be a empty file.
 	screen_erase();
-	//   non-existant text[] lines start with a tilde (~).
+	//   non-existent text[] lines start with a tilde (~).
 	for (li = 1; li < ro - 1; li++) {
 		screen[(li * co) + 0] = '~';
 	}
@@ -2528,7 +2528,7 @@
 
 //----- Terminal Drawing ---------------------------------------
 // The terminal is made up of 'rows' line of 'columns' columns.
-// classicly this would be 24 x 80.
+// classically this would be 24 x 80.
 //  screen coordinates
 //  0,0     ...     0,79
 //  1,0     ...     1,79
@@ -3222,7 +3222,7 @@
 	case 'f':			// f- forward to a user specified char
 		last_forward_char = get_one_char();	// get the search char
 		//
-		// dont seperate these two commands. 'f' depends on ';'
+		// dont separate these two commands. 'f' depends on ';'
 		//
 		//**** fall thru to ... 'i'
 	case ';':			// ;- look at rest of line for last forward char

Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- a/sed.c	1 Apr 2004 09:23:30 -0000	1.163
+++ b/sed.c	14 Apr 2004 17:51:09 -0000	1.164
@@ -210,7 +210,7 @@
 /*
  * index_of_next_unescaped_regexp_delim - walks left to right through a string
  * beginning at a specified index and returns the index of the next regular
- * expression delimiter (typically a forward * slash ('/')) not preceeded by
+ * expression delimiter (typically a forward * slash ('/')) not preceded by
  * a backslash ('\').
  */
 static int index_of_next_unescaped_regexp_delim(const char delimiter,

Index: awk.c
===================================================================
RCS file: /var/cvs/busybox/editors/awk.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/awk.c	15 Mar 2004 08:28:31 -0000	1.7
+++ b/awk.c	14 Apr 2004 17:51:09 -0000	1.8
@@ -784,7 +784,7 @@
 		return (v->string && *(v->string)) ? 1 : 0;
 }
 
-/* temporary varables allocator. Last allocated should be first freed */
+/* temporary variables allocator. Last allocated should be first freed */
 static var *nvalloc(int n) {
 
 	nvblock *pb = NULL;
@@ -1386,7 +1386,7 @@
 }
 
 /* use node as a regular expression. Supplied with node ptr and regex_t
- * storage space. Return ptr to regex (if result points to preg, it shuold
+ * storage space. Return ptr to regex (if result points to preg, it should
  * be later regfree'd manually
  */
 static regex_t *as_regex(node *op, regex_t *preg) {




More information about the busybox-cvs mailing list