bash: update multiline comments examples
This commit is contained in:
parent
e2d2eef9c2
commit
b95dacc8fa
14
bash.md
14
bash.md
|
@ -174,19 +174,17 @@ DIR=${SRC%$BASE} #=> "/path/to" (dirpath)
|
||||||
|
|
||||||
### Comments
|
### Comments
|
||||||
|
|
||||||
`# Single line comment`
|
```bash
|
||||||
|
# Single line comment
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
: '
|
: '
|
||||||
This is a
|
This is a
|
||||||
multi line
|
multi line
|
||||||
comment
|
comment
|
||||||
'
|
'
|
||||||
```
|
```
|
||||||
```bash
|
|
||||||
# This is also
|
|
||||||
# a multi line
|
|
||||||
# Comment
|
|
||||||
```
|
|
||||||
|
|
||||||
### Substrings
|
### Substrings
|
||||||
|
|
||||||
|
@ -460,7 +458,7 @@ set -o globdots # Wildcards match dotfiles ("*.sh" => ".foo.sh")
|
||||||
set -o globstar # Allow ** for recursive matches ('lib/**/*.rb' => 'lib/a/b/c.rb')
|
set -o globstar # Allow ** for recursive matches ('lib/**/*.rb' => 'lib/a/b/c.rb')
|
||||||
```
|
```
|
||||||
|
|
||||||
Set `GLOBIGNORE` as a colon-separated list of patterns to be removed from glob
|
Set `GLOBIGNORE` as a colon-separated list of patterns to be removed from glob
|
||||||
matches.
|
matches.
|
||||||
|
|
||||||
History
|
History
|
||||||
|
|
Loading…
Reference in New Issue