From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,64ee5340d5a49d23 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-01 14:42:01 PST Path: bga.com!news.sprintlink.net!hookup!usc!howland.reston.ans.net!EU.net!Austria.EU.net!newsfeed.ACO.net!email.tuwien.ac.at!hp From: hp@vmars.tuwien.ac.at (Peter Holzer) Newsgroups: comp.unix.osf.osf1 Subject: Re: Hex escape sequences Date: 1 Jun 1994 18:41:37 GMT Organization: University of Technology, Vienna, Dept. for Realtime Systems, AUSTRIA Message-ID: <2sikp1$mfj@email.tuwien.ac.at> References: <2sgubu$jga@search01.news.aol.com> NNTP-Posting-Host: quasi.vmars.tuwien.ac.at X-Newsreader: NN version 6.5.0 #7 (NOV) johneyb@aol.com (Johney B) writes: >When porting some software from AIX to OSF/1, I ran across a trivial >and very time consuming problem. The code uses the escape sequence >"\x1c" in sprintf statements which the OSF/1 compiler/library set >interperets literally (it interprets it as \x1c in the string). Has >anyone heard of this or noticed this problem? Yes, I got caught by this, too. Use the -std or the -std1 flag. hp -- _ | hp@vmars.tuwien.ac.at | Peter Holzer | TU Vienna | CS/Real-Time Systems |_|_) |------------------------------------------------------------------------ | | | It's not what we don't know that gets us into trouble, it's __/ | what we know that ain't so. -- Will Rogers