bash: update multiline comments examples

This commit is contained in:
Rico Sta. Cruz 2018-03-15 17:33:21 +08:00
parent e2d2eef9c2
commit b95dacc8fa
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 6 additions and 8 deletions

14
bash.md
View File

@ -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