Skip to content

Instantly share code, notes, and snippets.

View arseniy-panfilov's full-sized avatar

Arseniy Panfilov arseniy-panfilov

View GitHub Profile
@arseniy-panfilov
arseniy-panfilov / gist:fad6faf452312dabecef92827e9f8da6
Last active September 27, 2021 16:19 — forked from iandundas/gist:7863c6c248f76e14a3a8
Удаление пометки о цитировании при копировании из 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'