read
[options
] [variable1
?
string
] [variable2
...]
Korn shell only. Same as in the Bourne shell, except that the Korn
shell version
supports the options below as well as the ? syntax for prompting.
If a variable is followed by ?string
, then string
is displayed
as a user prompt. If no variables are given, input is stored in the
REPLY variable.
Read from the output of a |& coprocess.
Raw mode; ignore \ as a line continuation character.
Save input as a command in the history file.
n
]Read input from file descriptor n
(default is 0).