How can I de-escape my strings at run time?

Peter da Silva peter at ficc.ferranti.com
Wed Jun 6 23:20:04 AEST 1990


In article <MEISSNER.90Jun5102326 at curley.osf.org> meissner at osf.org (Michael Meissner) writes:
> The C standard mandates that \r and \n have separate numeric values.

That'll be fun for Microware and people using OS/9.

> | Not to mention that C pretty much assumes you'll have non-portable
> | characters like # and {} available...

> That's why there are trigraphs.

Does anyone actually use them for work? It seems to me they're pretty much
unusable in practice except for transferring code between environments.

> (or your DG terminal in DG mode....).  Also, not everything is a
> terminal, escape whatever also does things to printers, and such.

And there is a standard for that.
-- 
`-_-' Peter da Silva. +1 713 274 5180.  <peter at ficc.ferranti.com>
 'U`  Have you hugged your wolf today?  <peter at sugar.hackercorp.com>
@FIN  Dirty words: Zhghnyyl erphefvir vayvar shapgvbaf.



More information about the Comp.lang.c mailing list