Re: shell portability question

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

 



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

> # Check that break and continue aren't misused in our portable shell scripts.
> $EGREP -n '[^    ]=[^    ].*(break|continue)' $scripts \

I dunno, but perhaps it's checking for invalid usages like this?

  foo=bar break

That would indeed be invalid, but usages like

  test -r foo && bar=baz && break

are OK as far as I know.


_______________________________________________
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