summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-05-29 06:40:01 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-05-29 06:40:01 +0000
commit90a58acaf2f9bd8d6c9eb7f77ee0c79e665d49e5 (patch)
tree0e57f4ea49730b3644d9dbe55c841ce3ad5e70f5
parent4cd43ec457223c517a5d0191d733907188f4960b (diff)
subsitution -> substitution;
from Yoshihiro Ota, freebsd pr bin/130874
-rw-r--r--usr.bin/vi/docs/help2
-rw-r--r--usr.bin/vi/ex/ex_cmd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/docs/help b/usr.bin/vi/docs/help
index 81df84aa135..a7b5d748e04 100644
--- a/usr.bin/vi/docs/help
+++ b/usr.bin/vi/docs/help
@@ -129,7 +129,7 @@ EX COMMANDS:
^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
diff --git a/usr.bin/vi/ex/ex_cmd.c b/usr.bin/vi/ex/ex_cmd.c
index d4a9b491a48..74989c69112 100644
--- a/usr.bin/vi/ex/ex_cmd.c
+++ b/usr.bin/vi/ex/ex_cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ex_cmd.c,v 1.6 2009/10/27 23:59:47 deraadt Exp $ */
+/* $OpenBSD: ex_cmd.c,v 1.7 2010/05/29 06:40:00 jmc Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -66,7 +66,7 @@ EXCMDLIST const cmds[] = {
{"&", ex_subagain, E_ADDR2,
"s",
"[line [,line]] & [cgr] [count] [#lp]",
- "repeat the last subsitution"},
+ "repeat the last substitution"},
/* C_STAR */
{"*", ex_at, 0,
"b",