Hi,
Okay, I could install the shellcheck with the Fedora package. And it works, and it looks nice. I am going to use those 2 checkers for a while.
Thanks.
Jun Aruga
----- Original Message -----
From: "Christopher" ctubbsii@fedoraproject.org To: "Development discussions related to Fedora" devel@lists.fedoraproject.org Sent: Monday, August 22, 2016 9:40:25 PM Subject: Re: bash style guide on Fedora?
On Mon, Aug 22, 2016 at 11:17 AM Dominique Martinet < dominique.martinet@cea.fr > wrote:
Jun Aruga wrote on Mon, Aug 22, 2016 at 10:36:48AM -0400:
shellcheck? you mean "sh -n something.sh"? Yes, I will do it too :)
He does mean shellcheck[1].
It's nice; doesn't do style check (e.g. trailing spaces or whatsnot) but catches quite a lot of errors.
[1] https://www.shellcheck.net/
Yes, this is the shellcheck[1] I meant, but it's also just packaged for Fedora: $ sudo dnf install ShellCheck $ shellcheck myscript.sh
-- devel mailing list devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org