Autzoo.1522 net.bugs utcsrgv!utzoo!henry Thu Apr 1 20:21:01 1982 printf %X vs %lx (followon to azure!steveg) In Unix 3.0, there is an explicit distinction between these two: for a long, you must use the l prefix, while an uppercase conversion letter specifies a variant style. X is uppercase hex, O is octal with a leading zero (hooray!), E is like e but with an uppercase 'e', etc. Converting to this from V7 may be a little awkward, though... ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.