diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-21 07:59:41 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-21 07:59:41 +0000 |
commit | e7ba2dde1be71475ca9e13475a5da793e6e71492 (patch) | |
tree | 92fc7d77b93be740bc71187341a0164e93242b61 /bin/ksh/ksh.1tbl | |
parent | 348b1798b3067a1b3e79d9460d7f51a07ccd44ef (diff) |
Update to 5.2.12.
Diffstat (limited to 'bin/ksh/ksh.1tbl')
-rw-r--r-- | bin/ksh/ksh.1tbl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl index b64e70c1196..2a7879a72e8 100644 --- a/bin/ksh/ksh.1tbl +++ b/bin/ksh/ksh.1tbl @@ -1,5 +1,5 @@ '\" t -.\" $OpenBSD: ksh.1tbl,v 1.1 1996/10/01 09:05:21 downsj Exp $ +.\" $OpenBSD: ksh.1tbl,v 1.2 1996/11/21 07:59:30 downsj Exp $ .\"{{{}}} .\"{{{ Notes about man page .\" - use the pseudo-macros .sh( and .sh) to begin and end sh-specific @@ -1822,9 +1822,10 @@ If the input line ends in a backslash and the \fB\-r\fP option was not used, the backslash and newline are stripped and more input is read. If no input is read, \fBread\fP exits with a non-zero status. .sp -A prompt, which is printed to standard error before any input is read, may be -specified by appending and question mark and the prompt to the -first parameter (\fIe.g.\fP, \fBread nfoo?'number of foos: '\fP). +The first parameter may have a question mark and a string appended to it, in +which case the string is used as a prompt (printed to standard error before +any input is read) if the input is a tty +(\fIe.g.\fP, \fBread nfoo?'number of foos: '\fP). .sp The \fB\-u\fP\fIn\fP and \fB\-p\fP options cause input to be read from file descriptor \fIn\fP or the current co-process (see Co-Processes above |