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