Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[RFE] %a support in printf builtin (when available)



Under Debian/unstable:

dixsept% where printf
printf: shell built-in command
/usr/bin/printf
dixsept% printf "%a\n" 1.1
printf: %a: invalid directive
dixsept% /usr/bin/printf "%a\n" 1.1
0x8.ccccccccccccccdp-3
dixsept%

Note: the %a format appeared in C99.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author