I still to this day can't believe that they open sourced the Netscape Directory Server platform. That is just amazing. That application is a frickin goldmine.. I'm learning more about ns-slapd recently than i ever wanted to know, but it seems the more I learn, the more impressed I become with how well they set it up. It truly is a great system, and I hope that RedHat keeps it up.
And now for a oneliner I dug up from my archive... (newlines added to prevent ugly non-wrappage..
perl -e
'for($fn="FILE_A0.TXT";$fn!~/^file_aaa0.txt$/i;$fn=~s/^(FILE_)([A-Z]+)
(?{$char_1=$^N})(\d)(?{$char_2=$^N;$char_2==9?($char_2=0,$char_1++)
:$char_2++})/$1$char_1$char_2/g){print"$fn\n";}'
think I wrote that for someone.. it increments alphanumeric filenames, where the last position is a number and all the other positions are letters. PRETTY NICE EH.
Enjoy :)

as soon as they remove all the bugs that is..
[reply]
[+] Comment () by Mikey G @ 06/12/06 09:38:24 PM {0}
What bugs?
[reply]