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

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



On Sat, Feb 13, 2010 at 15:12, Evangelos Foutras <foutrelis@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux