Created
September 1, 2019 02:09
-
-
Save r-pufky/5db893cce987f4959713451f3449f165 to your computer and use it in GitHub Desktop.
Search for all links from a given markdown file recursively in all directories files. Assumes numeric index.
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
for x in `seq 29 -1 1` do; tail -${x} ${FILE}.md | head -1 | sed 's/\[.*\]:\ //g' | grep -f - -R * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment