Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Pit Linnartz" <linnartz@software-ag.de>
Subject: Re: No subject was specified.
Date: 1999/09/21	[thread overview]
Message-ID: <7s81an$lpc$1@gamma.ecomp.net> (raw)
In-Reply-To: 37E705E1.D1303F3A@cwo.com.au

could you tell us a bit more about the environment.
being used (ex awk, OS version etc)
at first look I would guess it's interpreted
as octal values, so 08 etc is hard to reach
Pit
Wallace Liu wrote in message <37E705E1.D1303F3A@cwo.com.au>...
> Hi ,
>
>I am confused by the output of printf command:
>
>d=07
>printf "%02d\n"  $d
>the system print 07;
>
>d=05
>printf "%02d\n"  $d
>the system print 05;
>
>
>
>d=09
>printf "%02d\n"  $d
>the system print this message to me:
>printf: 09 not completely converted
>00
>
>
>d=08
>printf "%02d\n"  $d
>the system print this message to me:
>printf: 08 not completely converted
>00
>
>I come cross this problem on Solaris 2.6 and Compaq UNIX. Why printf
command
>does not complete convert 09 and 08?
>
>Thanks
>
>
>
>





  parent reply	other threads:[~1999-09-21  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-21  4:00 No subject was specified Wallace Liu
1999-09-21  4:00 ` Bob Harris
1999-09-21  4:00 ` Pit Linnartz [this message]
1999-09-22  4:00 ` Wallace Liu
1999-09-26  4:00   ` Claus Divossen
  -- strict thread matches above, loose matches on Subject: below --
1999-09-07  4:00 Wallace Liu
1999-09-07  4:00 ` Stuart R. Fuller
1999-01-28  5:00 Joseph H. Lee
1998-11-05  5:00 Joseph H. Lee
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox