On Friday, September 17, 2010 01:06:19 Peter Volkov wrote:
> В Чтв, 16/09/2010 в 18:34 -0400, Mike Frysinger пишет:
> > On Thursday, September 16, 2010 15:41:27 Peter Volkov wrote:
> > > В Чтв, 16/09/2010 в 15:29 -0400, Mike Frysinger пишет:
> > > > > FOX_PV="${FOX_PV:-${PV}}"
> > > > 
> > > > while you're here, i'd change to:
> > > > : ${FOX_PV:=${PV}}
> > > 
> > > Why? This looks less readable...
> > 
> > only because your eyes arent tuned to it
> 
> Instead of explicit variable assignment (what was intended) you suggest
> to call `:` command and implicitly assign variable with bash parameter
> expansion...

what exactly is your point ?  there is no performance difference.  my style 
suggestion however is significantly more compact and has no redundancy.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to