bug-bash
[Top][All Lists]
Advanced

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

Re: how to make an alphabetical counter


From: Paul Jarc
Subject: Re: how to make an alphabetical counter
Date: Sun, 23 Dec 2001 16:31:55 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

"David D" <dd@asi.fr> wrote:
> Yes, I d like to make an alphabetical counter wich when I make ++ goes from
> a to b etc ...

Use a numeric counter, and then to get the alphabetic character from
the number, use:
$ eval "echo \$'\\$(printf %o "$[$number+96]")'"


paul



reply via email to

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