On Sat, 2006-04-22 at 19:28 +0900, Ross Bamford wrote:
> On Sat, 2006-04-22 at 06:09 +0900, James Edward Gray II wrote:
> > On Apr 21, 2006, at 3:34 PM, Bill Kelly wrote:
> > 
> > > From: "Andrew Johnson" <ajohnson / cpan.org>
> > >>
> > >> As a script, my one-liner is down to 70 chars including
> > >> the newline. It can be shortened a bit as a command-liner.
> > >> :-)
> > >
> > > Wow, nice.  Does that include the restriction in the quiz rules that
> > > numbers have to be left alone?  Or does your solution rearrange
> > > both numbers and letters?
> > 
> > I'm still waiting for someone to show off their solution properly  
> > handling the trivial (multi-byte) example I showed earlier...  :)
> 
> $ ./munger.rb test.txt
> Attehcaed is my résmué.

(Sorry for the noise) - the test text used there doesn't go too well
with my solution, which limits how much of a word is rearranged. This is
a better example:

[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La viiosn euroénepne strégiatque
[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La vioisn eurpeénone strgaéitque
[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La vioisn eurenopéne strtagiéque
[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La vision eurpeéonne stréigatque
[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La vision euréonpene strgtéiaque
[rosco@jukebox text-munger-76]$ ./munger.rb test2.txt
La visoin eureéonpne striagtéque

(from La vision européenne stratégique)

-- 
Ross Bamford - rosco / roscopeco.REMOVE.co.uk