md2gopher_checklinks.sh - www.codemadness.org - www.codemadness.org saait content files
HTML git clone git://git.codemadness.org/www.codemadness.org
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
md2gopher_checklinks.sh (188B)
---
1 #!/bin/sh
2 # checks if there are multiple links on a line.
3
4 grep -HnoE '(<[a-z]*:[^>]*>)|(\[[^]]*\]\([^)]*\))' pages/*.md | \
5 cut -d ':' -f 1,2 | \
6 sort -t ':' -k1,1 -k2,2n | \
7 uniq -d