Hi, > You can also take a look at bashate [ https://pypi.python.org/pypi/bashate ], > an automated style checker for bash scripts > to fill the same part of code review that pep8 does in most OpenStack > projects. > Thanks, Its tool looks helpful & useful for me. I would take a look at it. Thanks. Jun Aruga ----- Original Message ----- > From: "chandan kumar" <chandankumar.093047@xxxxxxxxx> > To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx> > Sent: Monday, August 22, 2016 4:31:38 PM > Subject: Re: bash style guide on Fedora? > > Hello, > > On Mon, Aug 22, 2016 at 7:55 PM, Christopher < ctubbsii@xxxxxxxxxxxxxxxxx > > wrote: > > > > On Mon, Aug 22, 2016 at 10:01 AM Jun Aruga < jaruga@xxxxxxxxxx > wrote: > > > Hi, > > We can see several bash (= sh on Fedora) script files under /etc such as > /etc/init.d/functions > /etc/profile > > Anyone could you tell me whether there is a common style guideline (coding > standards) to write the shell script on Feodra? > > Thanks, > Jun Aruga > > > I'm not familiar with one, but I'd recommend using shellcheck on them to > detect potential issues. > > > You can also take a look at bashate [ https://pypi.python.org/pypi/bashate ], > an automated style checker for bash scripts > to fill the same part of code review that pep8 does in most OpenStack > projects. > Thanks, > > Chandan Kumar > > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx > -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx