Shorten language on heredocs.
parent
01cb49ff90
commit
1178af6816
|
@ -156,11 +156,11 @@ Notes:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- A "here document" is a code structure that is treated as if it were a separate file. They can be used to feed multiple lines into a command. Consider reading more about ["here documents"](https://www.tldp.org/LDP/abs/html/here-docs.html). A simple example is:
|
- A "here document" allows [redirection of multiple lines of input](https://www.tldp.org/LDP/abs/html/here-docs.html) as if from a file:
|
||||||
```
|
```
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
These lines will
|
input
|
||||||
print to stdout
|
on multiple lines
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue