improve short description
* The short description used to say that until commitaac7d76047
from 2014. It appears that it was changed by mistake in that commit to something less readable. * With the message "use -print0/-0" we were confused and introduced a bug in our code because we didn't understand what to do with the "-0". * SC2011 (sourcec9e27c2470/src/ShellCheck/Analytics.hs (L591)
) uses that exact warning message, we copied it from there. Signed-off-by: Bruce Ricard <bricard@vmware.com>
This commit is contained in:
parent
c9e27c2470
commit
01aee1a859
|
@ -562,7 +562,7 @@ checkPipePitfalls _ (T_Pipeline id _ commands) = do
|
|||
hasParameter "print0",
|
||||
hasParameter "printf"
|
||||
]) $ warn (getId find) 2038
|
||||
"Use -print0/-0 or -exec + to allow for non-alphanumeric filenames."
|
||||
"Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames."
|
||||
|
||||
for ["ps", "grep"] $
|
||||
\(ps:grep:_) ->
|
||||
|
|
Loading…
Reference in New Issue