summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2009-02-07 23:15:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2009-02-07 23:15:29 +0000
commitd3383a11de9591315924e66ed384758762875b7b (patch)
tree66e0c7fd32b6c73bd84c4ad2012c749278af831e
parentc51bc7935b476febfb58d5e8ad4d81b157e2c460 (diff)
some tweaks for previous that got missed;
-rw-r--r--bin/ksh/ksh.17
-rw-r--r--bin/ksh/sh.17
2 files changed, 8 insertions, 6 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index b0b6bd384b7..5193ae6691f 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.124 2009/02/07 07:24:37 guenther Exp $
+.\" $OpenBSD: ksh.1,v 1.125 2009/02/07 23:15:28 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -2506,7 +2506,7 @@ In POSIX mode,
.Fl e
and
.Fl E
-will not be treated as options, but printed like other arguments;
+are not treated as options, but printed like other arguments;
in non-POSIX mode, these options control the interpretation
of backslash sequences.
.It
@@ -3043,7 +3043,8 @@ suppresses backslash interpretation.
If the
.Ic posix
option is set, only the first argument is treated as an option, and only
-if it is exactly ``-n''.
+if it is exactly
+.Dq -n .
.Pp
.It Ic eval Ar command ...
The arguments are concatenated (with spaces between them) to form a single
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index 232cf13061e..f8ecab2c751 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.78 2009/02/07 07:24:37 guenther Exp $
+.\" $OpenBSD: sh.1,v 1.79 2009/02/07 23:15:28 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -1945,7 +1945,7 @@ In POSIX mode,
.Fl e
and
.Fl E
-will not be treated as options, but printed like other arguments;
+are not treated as options, but printed like other arguments;
in non-POSIX mode, these options control the interpretation
of backslash sequences.
.It
@@ -2339,7 +2339,8 @@ suppresses backslash interpretation.
If the
.Ic posix
option is set, only the first argument is treated as an option, and only
-if it is exactly ``-n''.
+if it is exactly
+.Dq -n .
.Pp
.It Ic eval Ar command ...
The arguments are concatenated (with spaces between them) to form a single