Re: bash style guide on Fedora?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> I'm not familiar with one, but I'd recommend using shellcheck on them to
> detect potential issues.

Thanks.
shellcheck? you mean "sh -n something.sh"? Yes, I will do it too :)

I mean such as following pages, that I just searched on internet.

https://google.github.io/styleguide/shell.xml
https://github.com/icy/bash-coding-style
http://wiki.bash-hackers.org/scripting/style


Jun Aruga

----- Original Message -----
> From: "Christopher" <ctubbsii@xxxxxxxxxxxxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, August 22, 2016 4:25:16 PM
> Subject: Re: bash style guide on Fedora?
> 
> 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.
> 
> --
> 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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux