Skip to content

Instantly share code, notes, and snippets.

@kianryan
Created April 29, 2014 12:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kianryan/11398737 to your computer and use it in GitHub Desktop.
Search for a given word in a sentence in a collection of epubs
for file in Terry*.epub; do echo $file; unzip -p "$file" | egrep -no '(\w+\s+)+force(\s+\w+)+'; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment