-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Mike Frysinger on 2/22/2009 10:03 PM:
> previous versions of bash would happily accept negative values ( treated as a
> signed integer and masked with like 0xff), but it seems some changes related
> to option parsing has broken that
>
> $ f(){ return -1; }; f
> -bash: return: -1: invalid option
> return: usage: return [n]
What about 'return -- -1'?
- --
Don't work too hard, make some time for fun as well!
Eric Blake [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmim5YACgkQ84KuGfSFAYAvigCgvi0lCTHJBAhcYNBZKgf+zNUK
N1wAoKKjgPxFLF7bPCvKY58klIkMnYA2
=Q93f
-----END PGP SIGNATURE-----