"Adam D. Barratt" <[EMAIL PROTECTED]> writes:

> Sorry to be a pain, but we've tightened this further in svn to
>
>       '(?<![\$\(])\(\(.*\)\)'
>
> so as not to match constructs such as
>
>       progress_size=$(((100 - $PROGRESS_STATE) / 3))

What *is* this construct trying to catch, anyway?  dash supports things
like $((4 + 5)), and if the above is also okay, I'm not sure when this
would not be a false positive.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to