Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save immanuelsun/0cc1fafbe47a7794f4e28cef7bc44eef to your computer and use it in GitHub Desktop.
Save immanuelsun/0cc1fafbe47a7794f4e28cef7bc44eef to your computer and use it in GitHub Desktop.

Revisions

  1. @iandundas iandundas created this gist Jul 20, 2014.
    2 changes: 2 additions & 0 deletions gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # 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/^(Excerpt From).*//g'