read [ -r ] [ -p prompt ] [ -u [ n ] ] [ name ... ]
Description
You can use read to read a line and split it into fields using the characters from the IFS variable as delimiters. By default, a backslash (\) at the end of a line causes the line to be continued on the next line. qsh removes both the backslash and the <newline>.
Options
Operands
Each name is assigned to the corresponding field from the input line. Any leftover fields are assigned to the last name. The default name is the REPLY variable.
Exit Status
Related information
Examples