Forked from iandundas/gist:7863c6c248f76e14a3a8
Last active
September 27, 2021 16:19
-
-
Save arseniy-panfilov/fad6faf452312dabecef92827e9f8da6 to your computer and use it in GitHub Desktop.
Удаление пометки о цитировании при копировании из iBooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Проверено на русской версии macOS Sierra 10.12.4
Инструкция здесь.