On Monday 30 June 2003 04:08 pm, Richard Urwin wrote:
> try
>
> tr ' ' '\n' < powerball.txt | sort | uniq -c | sort -r
>
> There's a space between the first pair of quotes.
>
> cat powerball.txt
> Here's the numbers I tested it with
>
> 11 12 13 14 16
> 12 13 14 15 16
> 13 14 15 16 17
> 14 15 16 17 18
> 15 16 17 18 19
>
> tr ' ' '\n' < powerball.txt
> translates all spaces to newlines characters, so each ball is on a line
> of its own.
Yet another great suggestion - thanks to everyone who replied, some of this
stuff is very interesting (and entertaining!) :-)
--
/\
Dark><Lord
\/
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com