[gobolinux-devel] Coding statndards (was "tools/Scripts/bin Dependencies")
Jonas Karlsson
jonka750 at student.liu.se
Sun Apr 1 09:01:53 UTC 2007
On Sun, 01 Apr 2007 10:10:26 +0200, Hisham Muhammad <hisham at apple2.com>
wrote:
> CVSROOT: /sources/goboscripts
> Module name: tools
> Changes by: Hisham Muhammad <hisham> 07/04/01 08:10:26
>
> Modified files:
> Scripts/bin : Dependencies
>
> Log message:
> Correct subshell call to use backticks instead of parentheses
>
Oups!
You know you could have just added an $ instead. I really think we should
use parenthesis instead of backticks as the bash devs have marked
backticks as deprecated and parenthesis are easier to nest (as well as
more portable? - I've read some comment on that but can't give any source
:/ ).
At the same time I think we should use '. foo' instead of 'source foo',
where the former is more portable (1).
Maybe have some document regarding recommended coding standards (if that
doesn't exist and I've missed it).
--
/Jonas
1) http://osdir.com/LDP/LDP/abs/html/abs-guide.html#EX38
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-devel
mailing list