Created
November 29, 2016 16:09
-
-
Save jmasselink/adc046341c821f858d3faf83f196a080 to your computer and use it in GitHub Desktop.
Generate hrefs from list of links
This file contains 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
If you have a list of hyperlinks in Markdown, strip out extraneous text and put them into a text file (list.tst). | |
Using bash, enter the following command: | |
awk '{ print "<a href=" $o "</a>"}' list.txt > list-edit.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment