August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/read [-r] var...
read name...
set variable = $< read [-prsu[n]][name?prompt][name...]
The read command reads a single line from standard input.
By default, unless you specify the -r option, backslash (\) acts as an escape character. If standard input is a terminal device and the invoking shell is interactive, read prompts for a continuation line in the following cases:
When the shell reads an input line ending with a backslash, unless you specify the -r option.
When a here-document is not terminated after a newline character is entered.
The line is split into fields as in the shell; the first field is assigned to the first variable var ...
Read now
Unlock full access