Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arseniy-panfilov/fad6faf452312dabecef92827e9f8da6 to your computer and use it in GitHub Desktop.
Save arseniy-panfilov/fad6faf452312dabecef92827e9f8da6 to your computer and use it in GitHub Desktop.
Удаление пометки о цитировании при копировании из iBooks
# 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/^(Отрывок из книги).*//g'
@arseniy-panfilov
Copy link
Author

Проверено на русской версии macOS Sierra 10.12.4

Инструкция здесь.

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