diff options
author | uqs <uqs@FreeBSD.org> | 2011-05-22 14:03:46 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-05-22 14:03:46 +0000 |
commit | bfe0a2ea2665bc475c186f67f09dd71c5eca6aaf (patch) | |
tree | 1e83c2c954462c171097322b88b64e1d10dd3d82 /bin | |
parent | 1fb4642784519876f8220deacb97f0f95ac6c055 (diff) | |
download | FreeBSD-src-bfe0a2ea2665bc475c186f67f09dd71c5eca6aaf.zip FreeBSD-src-bfe0a2ea2665bc475c186f67f09dd71c5eca6aaf.tar.gz |
Fix some typos under bin/
Found by: codespell
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ed/POSIX | 4 | ||||
-rw-r--r-- | bin/ps/ps.c | 2 | ||||
-rw-r--r-- | bin/sh/mkinit.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/bin/ed/POSIX b/bin/ed/POSIX index f81bb0c..dab1a2b 100644 --- a/bin/ed/POSIX +++ b/bin/ed/POSIX @@ -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\ diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 6bb94bf..fb2b752 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -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++; diff --git a/bin/sh/mkinit.c b/bin/sh/mkinit.c index 82f2a55..866b238 100644 --- a/bin/sh/mkinit.c +++ b/bin/sh/mkinit.c @@ -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 |