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