|
From: | Gary V . Vaughan |
Subject: | Re: shell portability question |
Date: | Sun, 19 Sep 2004 22:58:34 +0100 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Paul, On 19 Sep 2004, at 18:00, Paul Eggert wrote:
"Gary V.Vaughan" <address@hidden> 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; breakUnfortunately 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.
D'oh! Quite right. I think the test has very limited value, so I'll propose a patch to remove it entirely.
Cheers, Gary. - -- Gary V. Vaughan ())_. address@hidden,gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Darwin) iD8DBQFBTgESFRMICSmD1gYRAkB4AKCYSycwa3wzYwZ0uJPjOdjQSvdiGwCfc4jx mVjTR4SDf1KSlZiqhXV9J24= =wJwz -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |