Last active
May 25, 2017 08:37
-
-
Save innermond/1fe9e345126b494f38b99e549a583a71 to your computer and use it in GitHub Desktop.
get all links from a rtf document, stripping quotes around them
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
cat <path/to/rtf.document> | grep -aEo '{HYPERLINK [^}]+' | cut -d' ' -f 2 | tr -d '"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment