misc/130874: [patch] fix typo in vi (subsitution -> substitution)

Yoshihiro Ota ota at j.email.ne.jp
Thu Jan 22 03:40:08 PST 2009


>Number:         130874
>Category:       misc
>Synopsis:       [patch] fix typo in vi (subsitution -> substitution)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 11:40:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiro Ota
>Release:        7.1/CURRENT
>Organization:
>Environment:
FreeBSD xxx 7.1-RELEASE FreeBSD 7.1-RELEASE #454: Thu Jan  1 04:21:14 EST 2009     xxx:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
There are 2 typos.

One of them is displayed with :exusage.  There is another one in a doc file.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: contrib/nvi/docs/help
===================================================================
RCS file: /home/ncvs/src/contrib/nvi/docs/help,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 help
--- contrib/nvi/docs/help	1 Nov 1996 06:45:34 -0000	1.1.1.1
+++ contrib/nvi/docs/help	22 Jan 2009 11:30:32 -0000
@@ -129,7 +129,7 @@
 	  ^D: scroll lines
 	   !: filter lines through commands or run commands
 	   #: display numbered lines
-	   &: repeat the last subsitution
+	   &: repeat the last substitution
 	   *: execute a buffer
 	   <: shift lines left
 	   =: display line number
Index: contrib/nvi/ex/ex_cmd.c
===================================================================
RCS file: /home/ncvs/src/contrib/nvi/ex/ex_cmd.c,v
retrieving revision 1.2
diff -u -r1.2 ex_cmd.c
--- contrib/nvi/ex/ex_cmd.c	18 Apr 1997 23:36:41 -0000	1.2
+++ contrib/nvi/ex/ex_cmd.c	22 Jan 2009 11:30:32 -0000
@@ -68,7 +68,7 @@
 	{"&",		ex_subagain,	E_ADDR2,
 	    "s",
 	    "[line [,line]] & [cgr] [count] [#lp]",
-	    "repeat the last subsitution"},
+	    "repeat the last substitution"},
 /* C_STAR */
 	{"*",		ex_at,		0,
 	    "b",


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list