650) This. width = 650; "src =" http://img.baidu.com/hi/face/ I _f39.gif "alt =" I _f39.gif "/> Read ends with a space
Read a B c reads SEVERAL VARIABLES
Read-s a does not display input when reading
Read-P "prompt language" A sets a prompt language
Read-T 3 A is set to 3 seconds. The script is not assigned a value to a to continue execution.
Read a B <file1 no loop assign the first field to A, and the second field to B
Cat file1
A1 Tom A1
A2 Jerry AA
A3 Mike A34
Read a B c <file1
In this case, A = A1 B = Tom c = A1
650) This. width = 650; "src =" http://img.baidu.com/hi/face/ I _f40.gif "alt =" I _f40.gif "/> various characters
Any blank characters in \ s, including spaces, tabs, line breaks, and Chinese fullwidth Spaces
\ T Tab)
\ N linefeed
\ R carriage return
\ W word string, a string consisting of letters, numbers, and underscores
650) This. width = 650; "src =" http://img.baidu.com/hi/face/ I _f38.gif "alt =" I _f38.gif "/> common tools in Shell
Seq
SEQ 10 1 ~ 10
SEQ 3 10 3 ~ 10
SEQ 3 2 10 3 5 7 9
SEQ-W 10 same width Input
SEQ-s sets the delimiter to wrap by default.
This article from the "Love armed for a lifetime" blog, please be sure to keep this source http://menglinux.blog.51cto.com/8733806/1437546