Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Adriaan van Os
Subject: compiling-update
Date: 26 Jan 2005, 04:19:04
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 Thanks for the hint, but it doesn't help: [G5:gcc/p/test] adriaan% cat test_log Test Run By adriaan on 2005-01-26 04:10:04 Native configuration is powerpc-apple-darwin7 (G5.local) gpc 20041218, based on gcc-3.4.3, flags: -g -O3 -W -Wall -Wno-unused GPC-TEST-BEGIN ========================== TEST fjf165a.pas: ./fjf165a.cmp: line 40: unexpected EOF while looking for matching `"' ./fjf165a.cmp: line 42: syntax error: unexpected end of file ========================== GPC-TEST-END jan.ruzicka@comcast.net wrote: > 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. The Macintosh has another character set for values > 127. The A-umlaut is auto-converted when you copy and paste it from email, but in the original script it looks like "ƒ" on the Mac. Does Linux/Unix have the same character set as WIndows (or the other way round) ? Regards, Adriaan van Os
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Adriaan van Os | compiling-update | 23 Jan 2005, 23:12:49 |
| Frank Heckenbach | compiling-update | 25 Jan 2005, 17:56:06 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).