On Wed, Jun 11, 2008, Dan Bar Dov wrote about "Re: Help with printf":
> > There are several ways you can fix this problem. The most obvious one is
> > to parse the string in the C code, and do the replacement of \n into a
> 
> Is there a library function that does the "conversion" for me?

Not that I'm aware of. As I said, I suggest that you take a look at the
source of GNU's "printf" utility (not the C library function), and see
what they do.

If \n is the only one that interests you, then writing a function to do
this replacement yourself is trivial.

-- 
Nadav Har'El                        |     Wednesday, Jun 11 2008, 8 Sivan 5768
[EMAIL PROTECTED]             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Always go to other people's funerals,
http://nadav.harel.org.il           |otherwise they won't come to yours.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to