Last active
August 29, 2015 14:27
-
-
Save cavedave/540ea3765079fcb70233 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Twitter now allows 10k characters in a direct message | |
#Below is the linux commands to convert Moby dick into | |
#1432 10k long direct messages | |
#It strips the Gutenberg header and footer as reading those would be odd | |
wget http://www.gutenberg.org/cache/epub/2701/pg2701.txt | |
sed '21745,22109d' mb.txt > mb-ft.txt | |
sed '1,537d' mb-ft.txt > mb-tr.txt | |
mkdir moby10k | |
split -b 10000 mb-tr.txt moby10k/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment