summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-05-22 14:03:46 +0000
committeruqs <uqs@FreeBSD.org>2011-05-22 14:03:46 +0000
commitbfe0a2ea2665bc475c186f67f09dd71c5eca6aaf (patch)
tree1e83c2c954462c171097322b88b64e1d10dd3d82 /bin/ed
parent1fb4642784519876f8220deacb97f0f95ac6c055 (diff)
downloadFreeBSD-src-bfe0a2ea2665bc475c186f67f09dd71c5eca6aaf.zip
FreeBSD-src-bfe0a2ea2665bc475c186f67f09dd71c5eca6aaf.tar.gz
Fix some typos under bin/
Found by: codespell
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/POSIX4
1 files changed, 2 insertions, 2 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\
OpenPOWER on IntegriCloud