gnutls-devel
[Top][All Lists]
Advanced

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

Re: Shell portability issue in tests/key-id/key-id


From: Simon Josefsson
Subject: Re: Shell portability issue in tests/key-id/key-id
Date: Mon, 07 Sep 2009 18:03:59 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Arfrever Frehtes Taifersar Arahesis <address@hidden> writes:

> 2009-09-03 22:46:23 Tom G. Christensen napisaƂ(a):
>> The tests/key-id/key-id script uses 'if !' which is not understood by
>> /bin/sh and results in an error on IRIX and Solaris.
>> 
>> $ ./key-id
>> !: Not found
>
> ! is documented by POSIX:
> http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_02_01

Alas it is not portable, see:

http://www.gnu.org/software/autoconf/manual/html_node/Limitations-of-Builtins.html

I have rewritten the code, thanks for the report Tom.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]