Skip to content

Instantly share code, notes, and snippets.

@underhilllabs
Created May 20, 2012 23:59
Show Gist options
  • Select an option

  • Save underhilllabs/2759979 to your computer and use it in GitHub Desktop.

Select an option

Save underhilllabs/2759979 to your computer and use it in GitHub Desktop.
Add an extra line to separate paragraphs in ebook
perl -e 'while(<>) { if (length($_) < 65) { print $_ . "\n";} else { print $_;}}' ebook.txt > ebook2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment