summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-11-24 12:59:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-11-24 12:59:29 +0000
commit06a21e7447ce95e70751bcdd157937828f1f86aa (patch)
tree24dadc9e7c9d98647cd980fcf4e077e2866679c2 /usr.bin
parent9b160b02c4fc761cb4997df97b753b15288c922c (diff)
some spelling fixes from Martynas Venckus
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/less/cmd.h2
-rw-r--r--usr.bin/vi/common/exf.c6
-rw-r--r--usr.bin/vi/docs/USD.doc/exref/ex.rm4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/less/cmd.h b/usr.bin/less/cmd.h
index 8f300dbe029..633e84cb3a6 100644
--- a/usr.bin/less/cmd.h
+++ b/usr.bin/less/cmd.h
@@ -77,7 +77,7 @@
#define A_EXTRA 0200
-/* Line editting characters */
+/* Line editing characters */
#define EC_BACKSPACE 1
#define EC_LINEKILL 2
diff --git a/usr.bin/vi/common/exf.c b/usr.bin/vi/common/exf.c
index 29f78837b40..4444e59cbe6 100644
--- a/usr.bin/vi/common/exf.c
+++ b/usr.bin/vi/common/exf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exf.c,v 1.23 2006/06/18 20:41:24 jasper Exp $ */
+/* $OpenBSD: exf.c,v 1.24 2007/11/24 12:59:28 jmc Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -369,9 +369,9 @@ file_init(sp, frp, rcv_name, flags)
* vi, unless the -R command-line option was specified or the program
* was executed as "view". (Well, to be truthful, if the letter 'w'
* occurred anywhere in the program name, but let's not get into that.)
- * So, the persistant readonly state has to be stored in the screen
+ * So, the persistent readonly state has to be stored in the screen
* structure, and the edit option value toggles with the contents of
- * the edit buffer. If the persistant readonly flag is set, set the
+ * the edit buffer. If the persistent readonly flag is set, set the
* readonly edit option.
*
* Otherwise, try and figure out if a file is readonly. This is a
diff --git a/usr.bin/vi/docs/USD.doc/exref/ex.rm b/usr.bin/vi/docs/USD.doc/exref/ex.rm
index aa272af6efc..0eb815c07c4 100644
--- a/usr.bin/vi/docs/USD.doc/exref/ex.rm
+++ b/usr.bin/vi/docs/USD.doc/exref/ex.rm
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ex.rm,v 1.7 2004/01/30 23:14:26 jmc Exp $
+.\" $OpenBSD: ex.rm,v 1.8 2007/11/24 12:59:28 jmc Exp $
.\"
.\" Copyright (c) 1980, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -2003,7 +2003,7 @@ preceded by a tab or a space. This string may be anywhere in the
line and anything after the
.B :
is interpeted as editor commands. This option defaults to off because
-of unexpected behavior when editting files such as
+of unexpected behavior when editing files such as
.I /etc/passwd .
.LC
\fBnumber, nu\fR default: nonumber