Skip to content

Instantly share code, notes, and snippets.

@jpstroop
Created April 29, 2018 08:03
Show Gist options
  • Save jpstroop/0e099ecbb20e7662fd22b3b8590f2464 to your computer and use it in GitHub Desktop.
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