Skip to content

Instantly share code, notes, and snippets.

@james-otten
Created August 27, 2017 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james-otten/e4fe28cc7723500fb17a6cc72a8aee75 to your computer and use it in GitHub Desktop.
Save james-otten/e4fe28cc7723500fb17a6cc72a8aee75 to your computer and use it in GitHub Desktop.
Uneven markdown quotes
#!/bin/bash
for DOC in $(find metasploit-framework/documentation -type f -name '*.md'); do
quotes=$(grep -o \`\`\` $DOC | wc -l)
if [ "$(($quotes % 2))" != "0" ]; then
echo $DOC $quotes
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment