zsh-workers
 help / color / mirror / code / Atom feed
* (Fwd) printf for converting numbers to letters, bug?
@ 2004-03-26 16:42 Bart Schaefer
  2004-03-26 17:00 ` Clint Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Bart Schaefer @ 2004-03-26 16:42 UTC (permalink / raw)
  To: zsh-workers

Looks like "%c" is interpreting the argument as a string and printing
the first character thereof.  It should work more like %d, shouldn't it?

--- Forwarded mail from Matthias Kopfermann <matthias@kopfermann.org>

Date: Fri, 26 Mar 2004 16:29:13 +0100
From: Matthias Kopfermann <matthias@kopfermann.org>
To: schaefer@brasslantern.com
Subject: printf for converting numbers to letters, bug?

hi bart (hero:) )!

I wanted to do printf "%c\n" {65..101}
to get some ascii-letters and did not succeed.

Is this wanted behaviour?

        Matthias


---End of forwarded mail from Matthias Kopfermann <matthias@kopfermann.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-29 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 16:42 (Fwd) printf for converting numbers to letters, bug? Bart Schaefer
2004-03-26 17:00 ` Clint Adams
2004-03-27 23:53   ` Bart Schaefer
2004-03-28  4:49     ` Clint Adams
2004-03-29 11:57       ` Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).