Hi all,

I am usiung expr in a shell script and need to pad it's output to 
always be 3 characters. An example will explain thing better:

% expr 007 + 1
Output is 8

I need the output to be 008


I checked the expr man page, but nothing there solves my problem. 
Anyone out there got one?

Thanks in advance....



---------------------------------------------------------------------
Would you like to receive faxes to your personal email address?
You can with mBox.  Visit http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to