mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-31 15:33:37 +02:00
commit bash-20141010 snapshot
This commit is contained in:
+4
-4
@@ -2656,11 +2656,11 @@ This type of redirection instructs the shell to read input from the
|
||||
current source until a line containing only @var{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.
|
||||
input (or file descriptor @var{n} if @var{n} is specified) for a command.
|
||||
|
||||
The format of here-documents is:
|
||||
@example
|
||||
<<[@minus{}]@var{word}
|
||||
[@var{n}]<<[@minus{}]@var{word}
|
||||
@var{here-document}
|
||||
@var{delimiter}
|
||||
@end example
|
||||
@@ -2686,7 +2686,7 @@ natural fashion.
|
||||
@subsection Here Strings
|
||||
A variant of here documents, the format is:
|
||||
@example
|
||||
<<< @var{word}
|
||||
[@var{n}]<<< @var{word}
|
||||
@end example
|
||||
|
||||
The @var{word} undergoes
|
||||
@@ -2694,7 +2694,7 @@ brace expansion, tilde expansion, parameter and variable expansion,
|
||||
command substitution, arithmetic expansion, and quote removal.
|
||||
Pathname expansion and word splitting are not performed.
|
||||
The result is supplied as a single string to the command on its
|
||||
standard input.
|
||||
standard input (or file descriptor @var{n} if @var{n} is specified).
|
||||
|
||||
@subsection Duplicating File Descriptors
|
||||
The redirection operator
|
||||
|
||||
Reference in New Issue
Block a user