Well, if printf mimics C's printf, it's got to print 'A' :-)
Also, I'm having some trouble with my patch. I've applied the patch and 
did a "make". Now, in my coreutils/src/, I have the executables. "printf" 
is working fine, as I expected it to work. Now, when I do a "make 
install", it's getting installed to /usr/local/bin (Fedora Core 2 system).
Now, I got a printf in /usr/bin...I deleted it and added /usr/local/bin to 
my path. `printf "%c" 65' is still outputting '6' but 
`/usr/local/bin/printf "%c" 65' is giving 'A'. Any idea what's going 
wrong?

regards,
GVK

On Fri, 13 Aug 2004, Paul Jarc wrote:

> "G. Vamsee Krishna" <[EMAIL PROTECTED]> wrote:
> > So, isn't `printf "%c" 65' supposed to print 'A' instead of '6'?
> 
> I agree that that would be the more useful behavior, but SUSv3 seems
> to require "6".
> 
> 
> paul
> 

-- 
Real programmers don't work 9 to 5. If any real programmers are around at 9am it's 
because they were up all night.



_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to