svn commit: r222178 - in head/bin: ed ps sh
Ulrich Spoerlein
uqs at FreeBSD.org
Sun May 22 14:03:47 UTC 2011
Author: uqs
Date: Sun May 22 14:03:46 2011
New Revision: 222178
URL: http://svn.freebsd.org/changeset/base/222178
Log:
Fix some typos under bin/
Found by: codespell
Modified:
head/bin/ed/POSIX
head/bin/ps/ps.c
head/bin/sh/mkinit.c
Modified: head/bin/ed/POSIX
==============================================================================
--- head/bin/ed/POSIX Sun May 22 14:03:38 2011 (r222177)
+++ head/bin/ed/POSIX Sun May 22 14:03:46 2011 (r222178)
@@ -75,7 +75,7 @@ DEVIATIONS
2) Since the behavior of `u' (undo) within a `g' (global) command list is
not specified by POSIX, it follows the behavior of the SunOS ed:
undo forces a global command list to be executed only once, rather than
- for each line matching a global pattern. In addtion, each instance of
+ for each line matching a global pattern. In addition, each instance of
`u' within a global command undoes all previous commands (including
undo's) in the command list. This seems the best way, since the
alternatives are either too complicated to implement or too confusing
@@ -83,7 +83,7 @@ DEVIATIONS
The global/undo combination is useful for masking errors that
would otherwise cause a script to fail. For instance, an ed script
- to remove any occurences of either `censor1' or `censor2' might be
+ to remove any occurrences of either `censor1' or `censor2' might be
written as:
ed - file <<EOF
1g/.*/u\
Modified: head/bin/ps/ps.c
==============================================================================
--- head/bin/ps/ps.c Sun May 22 14:03:38 2011 (r222177)
+++ head/bin/ps/ps.c Sun May 22 14:03:46 2011 (r222178)
@@ -219,7 +219,7 @@ main(int argc, char *argv[])
case 'A':
/*
* Exactly the same as `-ax'. This has been
- * added for compatability with SUSv3, but for
+ * added for compatibility with SUSv3, but for
* now it will not be described in the man page.
*/
nselectors++;
Modified: head/bin/sh/mkinit.c
==============================================================================
--- head/bin/sh/mkinit.c Sun May 22 14:03:38 2011 (r222177)
+++ head/bin/sh/mkinit.c Sun May 22 14:03:46 2011 (r222178)
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
/*
- * A text structure is basicly just a string that grows as more characters
+ * A text structure is basically just a string that grows as more characters
* are added onto the end of it. It is implemented as a linked list of
* blocks of characters. The routines addstr and addchar append a string
* or a single character, respectively, to a text structure. Writetext
More information about the svn-src-all
mailing list