Re: shell portability question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Gary V.Vaughan" <gary@xxxxxxx> writes:

> I'll change the test to:
>
>    $EGREP -n '[^ 	]=[^ 	]*[ 	]*(break|continue)' $scripts
>
> Which will also stop it choking on valid things like this:
>
>    foo=bar; break

Unfortunately that pattern matches "foo=bar; break", no?
You'll need something a good deal more sophisticated, I'm afraid.
Perhaps it'd be simpler just to remove the check.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux