in reply to Re: Unwanted Octal to Decimal Conversion
in thread Unwanted Octal to Decimal Conversion

I recommend "%05o" or "%#04o" because permission are 12 bit long and this way there will always be a preceding zero to indicate octalness.

Replies are listed 'Best First'.
Re: Re: Re: Unwanted Octal to Decimal Conversion
by borisz (Canon) on Feb 18, 2004 at 21:10 UTC
    You are right. then I like "0%04o". It is most readable for me.
    Boris