Skip to content

Instantly share code, notes, and snippets.

@aeakett
Last active August 29, 2015 14:13
Show Gist options
  • Save aeakett/955187a7a4145ae81456 to your computer and use it in GitHub Desktop.
Save aeakett/955187a7a4145ae81456 to your computer and use it in GitHub Desktop.
Find duplicate IDs in an HTML file
grep -Ho 'id="[^"]*"' <FILE NAME GOES HERE>|sort|uniq -d
@blueprintmrk
Copy link

thank you this is actually exactly what is looking for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment