You're the pearl of perl, or the earl of perl,
one or the other, or both! Thanks so much
for your help. It was past 1 am when I was
uploading so "dankon"...
How does one do the scripts on the pages,
one has to be a sysop, this isn't for newbies
at wiki is it? After all these years with Un*x
I'm still a bit of a script kiddie :-)))
w/ regards,
Jay B.
ILVI ( means "I love vi" :-)
From: "Brion Vibber" <brion(a)pobox.com>
n lun, 2003-02-24 at 22:09, Jay Bowks wrote:
Hey Brion,
thanks so much for doing all the work of redirecting the Wiktionary
entries. How'd you change the caps so quick ? :-)))
The magic of perl scripts!
while( $x = <> ) {
$x =~ s/^(\[\[[A-Z \(\)]+\]\])/lc "$1"/e;
print $x;
}
However I've only got P-Z done so far and I'm dang tired. :) If anyone
else wants to have a go before I get back to it, feel free.
Also, I've probably missed some that need to be capsed.
-- brion vibber (brion @
pobox.com)