summaryrefslogtreecommitdiffstats
path: root/contrib/nvi
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-05-28 09:26:53 +0000
committerjh <jh@FreeBSD.org>2010-05-28 09:26:53 +0000
commit65161e63dfda39579b70e1d5984f8c620e72305a (patch)
treef34998e9ec3b9d9be2c979a53720b17c422419ec /contrib/nvi
parent5a45693652bd02bd14cc859665103d8813190d26 (diff)
downloadFreeBSD-src-65161e63dfda39579b70e1d5984f8c620e72305a.zip
FreeBSD-src-65161e63dfda39579b70e1d5984f8c620e72305a.tar.gz
Fix misspelling of "substitution".
PR: bin/130874 Submitted by: Yoshihiro Ota
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 81df84a..a7b5d74 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 8c9801d..5124aeb 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",
OpenPOWER on IntegriCloud