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