- 论坛徽章:
- 8
|
1.4
- Here Documents
- This type of redirection instructs the shell to read input from the
- current source until a line containing only word (with no trailing
- blanks) is seen. All of the lines read up to that point are then used
- as the standard input for a command.
- The format of here-documents is:
- <<[-]word
- here-document
- delimiter
复制代码
2.3
- Positional Parameters
- A positional parameter is a parameter denoted by one or more digits,
- other than the single digit 0. Positional parameters are assigned
- from the shell's arguments when it is invoked, and may be reassigned
- using the set builtin command. Positional parameters may not be
- assigned to with assignment statements. The positional parameters are
- temporarily replaced when a shell function is executed (see FUNCTIONS
- below).
- When a positional parameter consisting of more than a single digit is
- expanded, it must be enclosed in braces (see EXPANSION below).
复制代码
有时间读新手导航吧 |
|