Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: How can I de-escape my strings at run time? Message-ID: <1990May31.172228.2071@utzoo.uucp> Organization: U of Toronto Zoology References: <6550.26639B0A@puddle.fidonet.org> Date: Thu, 31 May 90 17:22:28 GMT In article <6550.26639B0A@puddle.fidonet.org> cspw.quagga@p0.f4.n494.z5.fidonet.org (cspw quagga) writes: >Is there an easy way to read a string into a buffer with automatic run-time >translation of the escape sequences? ... Alas, no. It would be very nice if *scanf and *printf provided variants of %s that would do this. At one point I considered formally proposing this for ANSI C, but decided that I could not point to sufficient experience with it to justify adding it to the standard. -- As a user I'll take speed over| Henry Spencer at U of Toronto Zoology features any day. -A.Tanenbaum| uunet!attcan!utzoo!henry henry@zoo.toronto.edu