On Jan 25, 2005, at 11:56, Frank Heckenbach wrote:
I guess we can take out one pair of quotes. Shouldn't really be a problem (just paranoia). Apparently that shell doesn't like nested quotes.
if gcc dummy.c > /dev/null 2>&1 && [ -r "$A_OUT" ] && [ x"`./$A_OUT 2> /dev/null`" = x"Ä" ]; then
Is there any way to have the non ASCII character escaped? I don't think the shell script necessary needs to reproduce non ascii characters correctly. Possibilities are compare result of hexdump or generate the output in a different way and use cmp.
What character should it be anyway? I see it as a capital letter A with umlaut. Saved in a file it is 8000 hex.
Jan Ruzicka
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8