|
|
Subscribe / Log in / New account

Git v2.24.1 and others

Git v2.24.1 and others

Posted Dec 11, 2019 14:37 UTC (Wed) by abatters (✭ supporter ✭, #6932)
In reply to: Git v2.24.1 and others by bovinespirit
Parent article: Git v2.24.1 and others

I find this useful to find some common problems in shell scripts:

https://www.shellcheck.net/


to post comments

Git v2.24.1 and others

Posted Dec 11, 2019 18:56 UTC (Wed) by JoeBuck (subscriber, #2330) [Link] (1 responses)

That's a cool tool. I did notice one flaw: it reports the common problem of piping find ... -print output to xargs, recommending use of -print0. But it didn't flag the issue that for

find [path] [patterns] -print0 | xargs ...
xargs must be given the -0 option. It said "no problems found" when -print was changed to -print0.

Git v2.24.1 and others

Posted Dec 11, 2019 23:59 UTC (Wed) by pabs (subscriber, #43278) [Link]

Please file a feature request about detecting this. There is a large backlog of such requests, but they will get to it eventually.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds