1 |
On Wed, 6 Oct 2010 12:52:33 -0500 |
2 |
Donnie Berkholz <dberkholz@g.o> wrote: |
3 |
|
4 |
> > local flag=${1} |
5 |
> > local varname=${2:-${flag#!}} |
6 |
> |
7 |
> Could you explain how this works to me, please? It seems like you're |
8 |
> reversing the logic when people use the !flag syntax. |
9 |
|
10 |
It's just the variable (macro) name; the 'flag' var passes ! to use. |
11 |
This stripping is just intended to avoid outputting things like |
12 |
'!ssl=1' by default, and avoid guesses like 'nossl'. |
13 |
|
14 |
-- |
15 |
Best regards, |
16 |
Michał Górny |