We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.shellcheck.net/wiki/SC2227 states:
Redirection applies to the find command itself. Rewrite to work per action (or move to end). Problematic code: find . -name '*.ppm' -exec pnmtopng {} > {}.png ;
Redirection applies to the find command itself. Rewrite to work per action (or move to end).
Problematic code: find . -name '*.ppm' -exec pnmtopng {} > {}.png ;
… but this warning triggers even with a command such as:
find "${log}" 2>/dev/null \ -mindepth 4 \ -maxdepth 5 \ -name 'build.log' -or -name 'config.log' \ -type f \ -print
… where, since there is no additional command being executed, there doesn't appear to be any such ambiguity?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://www.shellcheck.net/wiki/SC2227 states:
… but this warning triggers even with a command such as:
… where, since there is no additional command being executed, there doesn't appear to be any such ambiguity?
The text was updated successfully, but these errors were encountered: