Features:
read command reads from standard input and copy the contents of the input to the variable
format:
read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]
Options:
-e use in an interactive shell readline get in line
-r allowed to escape any backslash characters
-s hidden input
-a array stored as an array of elements separated by spaces
-d delimiter continue to read until the first encounter delimiter character exit
-n nchars read nchars characters return, rather than waiting until a newline
-p prompt message
-t timeout timeout time in seconds
-u fd Specifies the file descriptor number as input, the default is 0
name variable name
Case:
1.1 -p message
1.2 -a saved as an array
1.3 -d argument specifies a character encounters a return Example: Back face e
1.4 <a file read as input a standard
1.5 -s parameter input hidden content
1.6 -n to achieve the specified number of times to return