Skip to content

Instantly share code, notes, and snippets.

@chirgwin
Last active December 21, 2015 19:26
Show Gist options
  • Save chirgwin/d444b312a9738ca22966 to your computer and use it in GitHub Desktop.
Save chirgwin/d444b312a9738ca22966 to your computer and use it in GitHub Desktop.
replace Github markdown image reference (from comment) with curl command to download

find: !\[(.*)\]\((.*)\.(.*)\)

replace: curl $2.$3 > $1.$3

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