mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +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'`
|
### `$'c-style-escapes'`
|
||||||
|
|
||||||
Bashism:
|
bash, ksh:
|
||||||
|
|
||||||
```Bash
|
```Bash
|
||||||
a=$' \t\n'
|
a=$' \t\n'
|
||||||
@@ -26,7 +26,7 @@ Want some good news? See http://austingroupbugs.net/view.php?id=249.
|
|||||||
|
|
||||||
### `$"msgid"`
|
### `$"msgid"`
|
||||||
|
|
||||||
Bashism:
|
Bash:
|
||||||
|
|
||||||
```Bash
|
```Bash
|
||||||
echo $"foo $(bar) baz"
|
echo $"foo $(bar) baz"
|
||||||
@@ -93,7 +93,7 @@ done
|
|||||||
|
|
||||||
### Here-strings
|
### Here-strings
|
||||||
|
|
||||||
Bash:
|
Bash, ksh:
|
||||||
|
|
||||||
```Bash
|
```Bash
|
||||||
grep aaa <<< "$g"
|
grep aaa <<< "$g"
|
||||||
|
Reference in New Issue
Block a user