1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Fix some typos under bin/

Found by:	codespell
This commit is contained in:
Ulrich Spörlein 2011-05-22 14:03:46 +00:00
parent 01c9917634
commit bf2fe08eea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222178
3 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ DEVIATIONS
2) Since the behavior of `u' (undo) within a `g' (global) command list is 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: 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 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 `u' within a global command undoes all previous commands (including
undo's) in the command list. This seems the best way, since the undo's) in the command list. This seems the best way, since the
alternatives are either too complicated to implement or too confusing 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 The global/undo combination is useful for masking errors that
would otherwise cause a script to fail. For instance, an ed script 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: written as:
ed - file <<EOF ed - file <<EOF
1g/.*/u\ 1g/.*/u\

View File

@ -219,7 +219,7 @@ main(int argc, char *argv[])
case 'A': case 'A':
/* /*
* Exactly the same as `-ax'. This has been * 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. * now it will not be described in the man page.
*/ */
nselectors++; nselectors++;

View File

@ -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 * 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 * blocks of characters. The routines addstr and addchar append a string
* or a single character, respectively, to a text structure. Writetext * or a single character, respectively, to a text structure. Writetext