summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-20 07:47:16 +0000
committerandvar <andvar@NetBSD.org>2022-05-20 07:47:16 +0000
commit75b8c1c8296bd48dfee1231a2108a2e8a7bd2eca (patch)
tree4c461f4af22d106dcb0f9f83a8f0dd839b3f9528 /bin
parent51d98cf025b24dba53b66c26d5c348791edbcb9c (diff)
fix some misspellings and remove trailing whitespaces.
Diffstat (limited to 'bin')
-rw-r--r--bin/ed/POSIX14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/ed/POSIX b/bin/ed/POSIX
index 6bea801d440..d8ddefdd721 100644
--- a/bin/ed/POSIX
+++ b/bin/ed/POSIX
@@ -1,4 +1,4 @@
-$NetBSD: POSIX,v 1.10 1999/11/18 19:16:34 kristerw Exp $
+$NetBSD: POSIX,v 1.11 2022/05/20 07:47:16 andvar Exp $
This version of ed(1) is not strictly POSIX compliant, as described in
the POSIX 1003.2 document. The following is a summary of the omissions,
@@ -14,8 +14,8 @@ OMISSIONS
3) To support the BSD `s' command (see extension [1] below),
substitution patterns cannot be delimited by numbers or the characters
- `r', `g' and `p'. In contrast, POSIX specifies any character expect
- space or newline can used as a delimiter.
+ `r', `g' and `p'. In contrast, POSIX specifies any character except
+ space or newline can be used as a delimiter.
EXTENSIONS
----------
@@ -25,11 +25,11 @@ EXTENSIONS
ii) `W' for appending text to an existing file,
iii) `wq' for exiting after a write,
iv) `z' for scrolling through the buffer, and
- v) BSD line addressing syntax (i.e., `^' and `%') is recognized.
+ v) BSD line addressing syntax (i.e., `^' and `%') is recognized.
2) If crypt(3) is available, files can be read and written using DES
encryption. The `x' command prompts the user to enter a key used for
- encrypting/ decrypting subsequent reads and writes. If only a newline
+ encrypting/decrypting subsequent reads and writes. If only a newline
is entered as the key, then encryption is disabled. Otherwise, a key
is read in the same manner as a password entry. The key remains in
effect until encryption is disabled. For more information on the
@@ -77,11 +77,11 @@ 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
- to use.
+ to use.
The global/undo combination is useful for masking errors that
would otherwise cause a script to fail. For instance, an ed script