[arch-general] [arch-dev-public] Let's agree on a common coding style

Daenyth Blank daenyth+arch at gmail.com
Sat Feb 13 15:16:01 EST 2010


On Sat, Feb 13, 2010 at 15:12, Evangelos Foutras <foutrelis at gmail.com> wrote:
> For example, in a PKGBUILD I would write ${pkgname}_$pkgver, because _ can
> be part of a variable name, but I'd much rather prefer to use
> $pkgname-$pkgver, since hyphens are not allowed in variable names.
>
> Less typing, less ugliness. :)
>

This is the way I've always done it and it's much nicer to read. Same
for quoting, use only when needed.


More information about the arch-general mailing list