-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Daniel Richard G. on 5/31/2007 9:24 AM: > A couple of comments on the format change: > > Love the gain of \NNN, \xHH et al. escape sequences. Will this include > locale-dependent multi-byte characters with \uHHHH and \uHHHHHHHH as well? > > Leery of making "%c" == "%.1s". This behavior doesn't seem terribly useful.
But it would match what /bin/printf does, and nobody complained about that being not terribly useful when it was standardized in POSIX. > > Also, once the transition period is over, the only way to specify a > non-literal character will be via \NNN, \x or \u, yes? All of which require > an octal or hex argument. What would I do if I have an eval()---whose > result is decimal---and I want to convert the result to a character? eval() takes a second argument - if you are computing a value, it is just as easy to compute it in octal or hex to begin with. For example, format(`%b', `\0'eval(computation, `8')) - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXyCw84KuGfSFAYARAuJdAKDMe6HXK5R60nQ+N0ku2Lx9S8qAIwCeNnLS P6Xt1qAs/P/dvHx5t4deIMU= =ENuO -----END PGP SIGNATURE----- _______________________________________________ M4-discuss mailing list M4-discuss@gnu.org http://lists.gnu.org/mailman/listinfo/m4-discuss