mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2039 (markdown)
@@ -10,7 +10,7 @@ For help with rewrites, the Ubuntu wiki has [a list of portability issues](https
|
||||
|
||||
### `$'c-style-escapes'`
|
||||
|
||||
Bashism:
|
||||
bash, ksh:
|
||||
|
||||
```Bash
|
||||
a=$' \t\n'
|
||||
@@ -26,7 +26,7 @@ Want some good news? See http://austingroupbugs.net/view.php?id=249.
|
||||
|
||||
### `$"msgid"`
|
||||
|
||||
Bashism:
|
||||
Bash:
|
||||
|
||||
```Bash
|
||||
echo $"foo $(bar) baz"
|
||||
@@ -93,7 +93,7 @@ done
|
||||
|
||||
### Here-strings
|
||||
|
||||
Bash:
|
||||
Bash, ksh:
|
||||
|
||||
```Bash
|
||||
grep aaa <<< "$g"
|
||||
|
Reference in New Issue
Block a user