mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1036 (markdown)
@@ -3,9 +3,12 @@
|
||||
### Problematic code:
|
||||
|
||||
```sh
|
||||
echo (foo) bar
|
||||
echo "(foo) bar" # Literal parentheses
|
||||
echo "$(foo) bar" # Command expansion
|
||||
echo "foo bar" # Tried to use parentheses for grouping or function invocation
|
||||
```
|
||||
|
||||
|
||||
### Correct code:
|
||||
|
||||
Depends on your intention:
|
||||
|
Reference in New Issue
Block a user