summaryrefslogtreecommitdiff
path: root/contrib/nvi
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2010-05-28 09:26:53 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2010-05-28 09:26:53 +0000
commitda93e82d2476afdaa356dd452eef23a7dee7fa3c (patch)
treef34998e9ec3b9d9be2c979a53720b17c422419ec /contrib/nvi
parent7bdc66dab87b94519dda8367a901f4d82adc7efd (diff)
downloadsrc-test2-da93e82d2476afdaa356dd452eef23a7dee7fa3c.tar.gz
src-test2-da93e82d2476afdaa356dd452eef23a7dee7fa3c.zip
Notes
Diffstat (limited to 'contrib/nvi')
-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",