read - read a line and assign fields to variables.
read [-r] [-d delimiter] [name ...] read [-r] [-a array] [-n count | -N count] [-p prompt] [-s] [-t seconds] [name ...]
read reads input and assigns fields to variables using IFS. Without names, it assigns REPLY. The last name receives the unsplit remainder. Without -r, backslashes escape the next character and a backslash-newline pair continues the input line.
-a, -n, -N, -p, -s, and -t are available in Rush's default Bash-compatible mode and are rejected in POSIX mode.
-a array-d delimiter-n count-N count-p prompt-r-s-t seconds--Zero when the delimiter or requested character count is reached, one at end-of-file, 142 on timeout, and two for usage errors.
rush-builtins(7), POSIX Shell Command Language.