Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Wallace Liu <wallace.liu@cwo.com.au>
Subject: Re: No subject was specified.
Date: 1999/09/22	[thread overview]
Message-ID: <37E813E4.D22C0843@cwo.com.au> (raw)
In-Reply-To: 37E705E1.D1303F3A@cwo.com.au

Hi all

I am sorry that I did not specify  the environment completely: this is a UNIX
shell environment.

Wallace Liu wrote:

>  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-22  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 ` Pit Linnartz
1999-09-21  4:00 ` Bob Harris
1999-09-22  4:00 ` Wallace Liu [this message]
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