On 01/22/2011 01:30 AM, Ralf Wildenhues wrote:
>> But since bash 2.05a is pretty much dead these days, while NetBSD
>> /bin/sh is still alive and kicking, the autoconf section should be
>> updated to use a modern example in its claim that unset exit status is
>> still a portability problem to be aware of.
>
> Like, this?
>
> Thanks,
> Ralf
>
> @c ------------------
> @prindex @command{unset}
> -In some nonconforming shells (e.g., Bash 2.05a), @code{unset FOO} fails
> -when @code{FOO} is not set. You can use
> +In some nonconforming shells (e.g., NetBSD 5.99.43 sh or Bash 2.05a),
> +@code{unset FOO} fails when @code{FOO} is not set. You can use
Maybe add one additional sentence:
This can interfere with @code{set -e} operation.
Looks fine with that addition.
--
Eric Blake [email protected] +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
