[Chugalug] tag cloud a mailing list

Sean Brewer seabre986 at gmail.com
Sun Dec 16 01:02:54 UTC 2012


Yeah you could do that, but you still have to do extra processing if you
want anything useful.

On Sat, Dec 15, 2012 at 4:58 AM, Matt Keys <mk6032 at yahoo.com> wrote:

>
> cat infile | tr -cs "[:alnum:]" "\n" | sort | uniq -c | sort -rn
>
>
>
> On 12/14/2012 06:04 PM, Dan Lyke wrote:
>
>> Someone made a comment about word clouds on Facebook yesterday, and
>> being the smartass that I am I couldn't resist:
>>
>> perl -e 'while (<>) { $c{$_}++ for (split /\W+/); } print map {$_ ?
>> "$_ => $c{$_}\n" : ""} (sort { $c{$b} <=> $c{$a} } keys %c)'
>>
>> Takes text as STDIN, Outputs "word => occurrences", one per line, in
>> descending occurrences order.
>> ______________________________**_________________
>> Chugalug mailing list
>> Chugalug at chugalug.org
>> http://chugalug.org/cgi-bin/**mailman/listinfo/chugalug<http://chugalug.org/cgi-bin/mailman/listinfo/chugalug>
>>
>>
> ______________________________**_________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/**mailman/listinfo/chugalug<http://chugalug.org/cgi-bin/mailman/listinfo/chugalug>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20121215/77f19614/attachment.html>


More information about the Chugalug mailing list