in reply to Generating a random string of chars, easily.


Here is one way:     perl -le 'print map{(a..z)[rand 26]} 0..rand 10'

--
John.

Replies are listed 'Best First'.
Re: Re: Generating a random string of chars, easily.
by Sihal (Pilgrim) on Nov 14, 2002 at 15:38 UTC
    Thanx :-).
    PLaying golf? ok a little too trivial.