Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ed fix some misspellings and remove trailing whitespaces.



details:   https://anonhg.NetBSD.org/src/rev/098dc957d316
branches:  trunk
changeset: 366249:098dc957d316
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri May 20 07:47:16 2022 +0000

description:
fix some misspellings and remove trailing whitespaces.

diffstat:

 bin/ed/POSIX |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r 947430c14b8c -r 098dc957d316 bin/ed/POSIX
--- a/bin/ed/POSIX      Fri May 20 06:59:02 2022 +0000
+++ b/bin/ed/POSIX      Fri May 20 07:47:16 2022 +0000
@@ -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 @@
 
 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 @@
        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 @@
 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



Home | Main Index | Thread Index | Old Index