Skip to content

Instantly share code, notes, and snippets.

@karstengresch
Forked from iandundas/gist:7863c6c248f76e14a3a8
Last active August 29, 2015 14:08
Show Gist options
  • Save karstengresch/0d4f8907af2366a3f881 to your computer and use it in GitHub Desktop.
Save karstengresch/0d4f8907af2366a3f881 to your computer and use it in GitHub Desktop.
German version, tested
# strip out iBooks citation
sed -E -e 's/^[ ]?[0-9]* //g' | sed -E -e 's/„[ ]?[0-9]?[ ]?//g' | sed -E -e 's/“$//g' | sed -E -e 's/^(Auszug aus).*//g'
@karstengresch
Copy link
Author

Hm, unfortunately there's some strange whitespace left, need 2 check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment