mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Added a clarification that the brackets in find expressions must be separated to avoid confusing errors
@@ -11,6 +11,7 @@ find . -name '*.avi' -o -name '*.mkv' -exec cp {} /media \;
|
||||
```sh
|
||||
find . \( -name '*.avi' -o -name '*.mkv' \) -exec cp {} /media \;
|
||||
```
|
||||
Note that the space between `\(` and `-name` in this command is significant.
|
||||
|
||||
### Rationale:
|
||||
|
||||
|
Reference in New Issue
Block a user