On Wed, 6 Oct 2010 12:52:33 -0500
Donnie Berkholz <[email protected]> wrote:

> >     local flag=${1}
> >     local varname=${2:-${flag#!}}
> 
> Could you explain how this works to me, please? It seems like you're 
> reversing the logic when people use the !flag syntax.

It's just the variable (macro) name; the 'flag' var passes ! to use.
This stripping is just intended to avoid outputting things like
'!ssl=1' by default, and avoid guesses like 'nossl'.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to