Thanks. It's working fine now. "%c" 65 is giving 'A' :)
What I still didn't get it, is this a bug or a feature left intentionally?
In the later case, I think the man/info pages should be changed to reflect
it.
On Fri, 13 Aug 2004, Alfred M. Szmidt wrote:
> 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?
>
> Shell builtin probobly.
>
> If you are using GNU bash then the following will disable the printf
> builtin:
>
> enable -n printf
>
--
Real programmers don't work 9 to 5. If any real programmers are around at 9am
it's because they were up all night.