Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(Fwd) printf for converting numbers to letters, bug?
- X-seq: zsh-workers 19696
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: (Fwd) printf for converting numbers to letters, bug?
- Date: Fri, 26 Mar 2004 16:42:56 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxx>
Date: Fri, 26 Mar 2004 16:29:13 +0100
From: Matthias Kopfermann <matthias@xxxxxxxxxxxxxx>
To: schaefer@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author