[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] sequencing the alphabet
- Subject: [ale] sequencing the alphabet
- From: yahoo at jimpop.com (Jim Popovitch)
- Date: Tue, 08 May 2007 16:33:32 -0400
- In-reply-to: <[email protected]>
- References: <1178649017.27855.4.camel@localhost> <[email protected]>
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.