[ale] sequencing the alphabet

Jim Popovitch yahoo at jimpop.com
Tue May 8 14:30:17 EDT 2007


Every now and then I need to do a for loop and iterate through the
alphabet.  If I was iterating through numbers I could use seq to output
a sequence like this:

for i in `seq 0 9`; do ....

What I need to do is something like this:

for i in `a b c d e f g h i j k l m n o p q r s t u v w x y z`; do .....

Any idea on how to keep from typing a b c d e f g h i j k l m n o p q r
s t u v w x y z every time?

Tia,

-Jim P. 




More information about the Ale mailing list