Thanks for your reply. That would certainly help. 

Regards,
Ken

-----Original Message-----
From: Chet Ramey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 9:51 PM
To: Ken Failbus
Cc: Andreas Schwab; bug-bash@gnu.org; [EMAIL PROTECTED]
Subject: Re: bash -n doesn't seem to catch all syntax errors...

Ken Failbus wrote:
> So how can bash script syntax be verified that includes shopt???
> Is there more option on bash syntax command-line check that would make
it identify this grammar???

One uses the `-O' invocation option to enable and disable shopt options
at
execution time.  You would use `bash -O extglob -n scriptname'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]
http://cnswww.cns.cwru.edu/~chet/


Reply via email to