Last active
December 17, 2015 12:19
-
-
Save kroq-gar78/5608532 to your computer and use it in GitHub Desktop.
Duplicate references finder for Wikis from an input file
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
#!/bin/bash | |
cat $1 | sed -r "s/^ +↑ //g;s/[0-9]+\.[0-9]+\ //g;s/\ +$//g" | perl -ne 'print if $SEEN{$_}++' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment