I've spent a nice part of the day trying to figure out how to pad a variable with leading zeroes and still keep the decimal. The variable needs to be formatted nnnnn.nn. Printf with a %d clobbers the decimal. Any suggestions not using SED or AWK?
Thanks Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
