[ale] sequencing the alphabet
Bob Toxen
transam at verysecurelinux.com
Tue May 8 15:52:46 EDT 2007
Store it in a file? Seriously, this would be faster than working out
a solution in Perl, C, etc.
Bob Toxen
bob at verysecurelinux.com [Please use for email to me]
http://www.verysecurelinux.com [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.
"Microsoft: Unsafe at any clock speed!"
-- Bob Toxen 10/03/2002
On Tue, May 08, 2007 at 02:30:17PM -0400, Jim Popovitch wrote:
> 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.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list