summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/ksh.18
-rw-r--r--bin/ksh/ksh.1tbl8
-rw-r--r--bin/ksh/sh.18
-rw-r--r--bin/ksh/sh.1tbl8
4 files changed, 16 insertions, 16 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index c93ccaee4cb..20f30d784ac 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.57 2003/09/02 18:09:43 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.58 2003/09/04 14:21:43 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1245,7 +1245,7 @@ command below for list of options).
.It Ev \&?
The exit status of the last non-asynchronous command executed.
If the last command was killed by a signal,
-.Ic \&$\&?
+.Ic \&$?\&
is set to 128 plus the signal number.
.It Ev 0
The name the shell was invoked with (i.e.,
@@ -2421,7 +2421,7 @@ command substitutions performed in generating the
.Ic set
command.
For example,
-.Ic set \&-\&- `false`; echo $?
+.Ic set \&-\&- `false`; echo $?\&
prints 0 in
.Tn POSIX
mode, 1 in
@@ -2843,7 +2843,7 @@ The shell exits with the specified exit status.
If
.Ar status
is not specified, the exit status is the current value of the
-.Ic \&?
+.Ic ?\&
parameter.
.It Xo Ic export Op Fl p
.Op Ar parameter Ns Op \&= Ns Ar value
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl
index 0ac79dcb334..2ba31ac7c69 100644
--- a/bin/ksh/ksh.1tbl
+++ b/bin/ksh/ksh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1tbl,v 1.57 2003/09/02 18:09:43 jmc Exp $
+.\" $OpenBSD: ksh.1tbl,v 1.58 2003/09/04 14:21:43 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1245,7 +1245,7 @@ command below for list of options).
.It Ev \&?
The exit status of the last non-asynchronous command executed.
If the last command was killed by a signal,
-.Ic \&$\&?
+.Ic \&$?\&
is set to 128 plus the signal number.
.It Ev 0
The name the shell was invoked with (i.e.,
@@ -2421,7 +2421,7 @@ command substitutions performed in generating the
.Ic set
command.
For example,
-.Ic set \&-\&- `false`; echo $?
+.Ic set \&-\&- `false`; echo $?\&
prints 0 in
.Tn POSIX
mode, 1 in
@@ -2843,7 +2843,7 @@ The shell exits with the specified exit status.
If
.Ar status
is not specified, the exit status is the current value of the
-.Ic \&?
+.Ic ?\&
parameter.
.It Xo Ic export Op Fl p
.Op Ar parameter Ns Op \&= Ns Ar value
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index fda640b99bf..845481e4793 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.35 2003/09/02 18:09:43 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.36 2003/09/04 14:21:43 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1076,7 +1076,7 @@ command below for list of options).
.It Ev \&?
The exit status of the last non-asynchronous command executed.
If the last command was killed by a signal,
-.Ic \&$\&?
+.Ic \&$?\&
is set to 128 plus the signal number.
.It Ev 0
The name the shell was invoked with (i.e.,
@@ -2017,7 +2017,7 @@ command substitutions performed in generating the
.Ic set
command.
For example,
-.Ic set \&-\&- `false`; echo $?
+.Ic set \&-\&- `false`; echo $?\&
prints 0 in
.Tn POSIX
mode, 1 in
@@ -2408,7 +2408,7 @@ The shell exits with the specified exit status.
If
.Ar status
is not specified, the exit status is the current value of the
-.Ic \&?
+.Ic ?\&
parameter.
.It Xo Ic export Op Fl p
.Op Ar parameter Ns Op \&= Ns Ar value
diff --git a/bin/ksh/sh.1tbl b/bin/ksh/sh.1tbl
index 9bfbc50ca98..dd3052476b8 100644
--- a/bin/ksh/sh.1tbl
+++ b/bin/ksh/sh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1tbl,v 1.35 2003/09/02 18:09:43 jmc Exp $
+.\" $OpenBSD: sh.1tbl,v 1.36 2003/09/04 14:21:43 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1076,7 +1076,7 @@ command below for list of options).
.It Ev \&?
The exit status of the last non-asynchronous command executed.
If the last command was killed by a signal,
-.Ic \&$\&?
+.Ic \&$?\&
is set to 128 plus the signal number.
.It Ev 0
The name the shell was invoked with (i.e.,
@@ -2017,7 +2017,7 @@ command substitutions performed in generating the
.Ic set
command.
For example,
-.Ic set \&-\&- `false`; echo $?
+.Ic set \&-\&- `false`; echo $?\&
prints 0 in
.Tn POSIX
mode, 1 in
@@ -2408,7 +2408,7 @@ The shell exits with the specified exit status.
If
.Ar status
is not specified, the exit status is the current value of the
-.Ic \&?
+.Ic ?\&
parameter.
.It Xo Ic export Op Fl p
.Op Ar parameter Ns Op \&= Ns Ar value