[ale] sequencing the alphabet
Jim Popovitch
yahoo at jimpop.com
Tue May 8 16:33:32 EDT 2007
On Tue, 2007-05-08 at 15:45 -0400, Alex LeDonne wrote:
> In bash:
>
> for i in {a..z};
> do echo $i;
> done
>
> Note that this does the right thing for numbers... {0..20} does what
> you would expect. See "Brace expansion" in your bash manpage.
Cool, that should do it.
> I don't see anything similar in sh. What's the environment requirement?
Bash on Solaris 8/9/10, Linux *, and presumably some AIX in the near
future.
Thx!
-Jim P.
More information about the Ale
mailing list