Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jk3k+ From: jk3k+@andrew.cmu.edu (Joe Keane) Newsgroups: comp.lang.c Subject: "%#s"? Message-ID: Date: 27 May 88 22:32:10 GMT Organization: Carnegie Mellon Lines: 9 It would be nice for printf et al. to have a %#s format specifier, to convert unprintable characters into backslash escapes. Thus printf ("%#s", "\b\fhi\n\207"); would be equivalent to printf ("\\b\\fhi\\n\\207"); Has anyone else thought of this? Is it a good idea? Can it be put in the standard? --Joe