Vulnerability Development mailing list archives

Re: combinations of 4


From: jon schatz <jon () divisionbyzero com>
Date: 07 Apr 2002 13:43:05 -0700

On Sat, 2002-04-06 at 17:01, KF wrote:
My question is does anyone know how to programatically do this? Do i 
need to make use of bit shifting or something? I need only a program to 
print the list to the screen or something simple. Example output would 
be ...

AAAA
BBBBB
....
AAAB
AAAC

perl -e 'foreach (AAAA..ZZZZ) { print $_,"\n";}'

i'm sure someone on this list can golf this down, but this should be
sufficient...

-jon

-- 
jon () divisionbyzero com || www.divisionbyzero.com
gpg key: www.divisionbyzero.com/pubkey.asc
think i have a virus? www.divisionbyzero.com/pgp.html
"You are in a twisty little maze of Sendmail rules, all confusing." 

Attachment: signature.asc
Description: This is a digitally signed message part


Current thread: