bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printf "%c" behavious


From: G. Vamsee Krishna
Subject: printf "%c" behavious
Date: Fri, 13 Aug 2004 13:08:51 +0530 (IST)

Hello,
        The info page describes printf as 
`printf' prints the FORMAT string, interpreting `%' directives and
`\' escapes in the same way as the C `printf' function.

So, isn't `printf "%c" 65' supposed to print 'A' instead of '6'? Please 
let me know if it's a bug or not. Unable to sleep y'day night, I modified 
the code of printf.c in coreutils-5.2.1 and made a patch. Do I need to 
edit any makefiles?

regards,
GVK


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]