[Xastir] Feature idea for Xastir
Curt, WE7U
archer at eskimo.com
Tue Aug 28 17:12:55 EDT 2007
> cat PigLatin.pl
#!/usr/bin/perl
while ( <> ) {
@pieces = split /\|/;
$pieces[1] =~ s/\b(qu|y(?=[^t])|[^\W\daeiouy]*)([a-z']+)/$2.($1||w).ay/eg;
print join '|', @pieces;
}
--
Curt, WE7U: <www.eskimo.com/~archer/> XASTIR: <www.xastir.org>
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
The world DOES revolve around me: I picked the coordinate system!
More information about the Xastir
mailing list