• @Ludd > Can you fit all the words in that book into a single tweet? Just wondering.

    No.

    $ head geah.txt
    I am Sam
    
    I am Sam
    Sam I am
    
    That Sam-I-am
    That Sam-I-am!
    I do not like
    that Sam-I-am
    $ cat geah.txt | sed -e 's/-/ /g' | tr ' ' '\n' | tr A-Z a-z | sed -e 's/[.!,?]*$//' | sort -u | grep -v "^$" | head
    a
    am
    and
    anywhere
    are
    be
    boat
    box
    car
    $ cat geah.txt | sed -e 's/-/ /g' | tr ' ' '\n' | tr A-Z a-z | sed -e 's/[.!,?]*$//' | grep -v "^$" | sort -u | wc
         50      50     222
    

    So 172 characters if you concatenate all of the words (with no punctuation) without any spaces. 221 characters if you want a space between each word.

    $ cat geah.txt | sed -e 's/-/ /g' | tr ' ' '\n' | tr A-Z a-z | sed -e 's/[.!,?]*$//' | sort -u | grep -v "^$" | tr '\n' ' '
    a am and anywhere are be boat box car could dark do eat eggs fox goat good green ham here house i if in let like may me mouse not on or rain sam say see so thank that the them there they train tree try will with would you
    
  • Y U NO lossless data compression?

    0: I am Sam
    9:
    10: (5,3) (0,4)
    16:
    17: That(4,4)-I-am!(19,16)I do not like
    45: t(21,14)
    49: Do you(58,5) green eggs and ham?
    78: (49,14) them,(24,9).(112,15)(93,18).
    
About

Avatar for Greenbank @Greenbank started