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

> The first two certainly should be prefixed by something to avoid them
> matching strings that happen to end in "echo -e". I've updated
> checkbashisms to do so for all three.
>
> As far as I can see that won't stop "echo echo -e" matching, however.

I was proposing using:

          '(?:^|\s+)echo\s+-e',        # echo -e
          '(?:^|\s+)exec\s+-[acl]',    # exec -c/-l/-a name
          '(?:^|\s+)let\s',            # let ...

-- 
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