From: leec AT mag DOT com (Christopher Lee) Subject: printf problem: "%1$s" not handled? 18 Apr 1998 05:46:33 -0700 Message-ID: <001b01bd6a64$d918d8c0$15d0d3c6.cygnus.gnu-win32@chris-lee.mag.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: Hi, I'm having trouble on gnu-win32-b19.1 with the printf/sprintf functions. Basically, positional parameters don't seem to be working: #include int main() { printf("<%1$s> <%2$s> <%3$s> <%4$s>\n","one","two","three","four"); return 0; } Should print (e.g. on LINUX, SUN, SGI, DEC, etc.): on GNU-WIN32 prints: <$s> < $s> < $s> < $s> Any way to fix this? e.g. to replace printf/sprintf in B19.1 with ANSI versions? Yours, Chris Lee - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".