mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2006 (markdown)
@@ -1,4 +1,4 @@
|
|||||||
# Use $(..) instead of deprecated \`..\`
|
# Use $(..) instead of legacy \`..\`
|
||||||
|
|
||||||
### Problematic code:
|
### Problematic code:
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
### Rationale:
|
### Rationale:
|
||||||
|
|
||||||
Backtick command substitution `` `..` `` is legacy syntax with several problems.
|
Backtick command substitution `` `..` `` is legacy syntax with several issues.
|
||||||
|
|
||||||
1. It has a series of undefined behaviors related to quoting in POSIX.
|
1. It has a series of undefined behaviors related to quoting in POSIX.
|
||||||
1. It imposes a custom escaping mode with surprising results.
|
1. It imposes a custom escaping mode with surprising results.
|
||||||
|
Reference in New Issue
Block a user