Wed, 12 Aug 2009

(More) Fun With Unix Commands

I decided to see what the boring cloud would look like (no stopwords, no character limits). Here's that list.

like my a as was would are of you up
from when it we I or that an on what
their is which will if but can all with they
have about and for who be by so more
our out one to this not at your the in

How I generated this list:

cat ~/*.txt | tr '[A-Z]' '[a-z]' | sed 's/ /\n/g' | \ egrep -v '[\><"#{}1234567890/|?;_.)(!&-+=:@-]'| sed 's/[,.]//' | sort | uniq -c | \ sort -n| sed 's/$/<\/font>/' | sed 's/[0-9][0-9] /">/'| sed 's/\([0-9]\)/<font size="\1/' | \ sed 's/>i</>I</' | tail -50 | shuf -n 50 > ~/wordcloud2.txt




Khan Klatt

Khan Klatt's photo