summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2010-07-30 11:55:52 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2010-07-30 11:55:52 +0000
commit12daee8608d4d08b61682f3ff4f3a2c164be6224 (patch)
treef241e1168413b1cb7d01d878e1ccdb2ebf14848e
parent55ae4480575b26d9c52362325e5136f7bd2257b9 (diff)
Notes
-rw-r--r--contrib/nvi/docs/help2
-rw-r--r--contrib/nvi/ex/ex_cmd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/nvi/docs/help b/contrib/nvi/docs/help
index 81df84aa1353..a7b5d748e043 100644
--- a/contrib/nvi/docs/help
+++ b/contrib/nvi/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/contrib/nvi/ex/ex_cmd.c b/contrib/nvi/ex/ex_cmd.c
index 8c9801df4291..5124aeb58cdb 100644
--- a/contrib/nvi/ex/ex_cmd.c
+++ b/contrib/nvi/ex/ex_cmd.c
@@ -68,7 +68,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",