Skip to content

Instantly share code, notes, and snippets.

@jpstroop
Created April 29, 2018 08:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jpstroop/0e099ecbb20e7662fd22b3b8590f2464 to your computer and use it in GitHub Desktop.
#!/bin/bash
for md_file in $(find . -name "*.md"); do
gsed -r -i -e 's/([A-z])\.\s{2,3}([A-Z])/\1. \2/g' $md_file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment