Skip to content

Instantly share code, notes, and snippets.

@pipex
Created February 21, 2013 10:35
Show Gist options
  • Save pipex/5003797 to your computer and use it in GitHub Desktop.
Save pipex/5003797 to your computer and use it in GitHub Desktop.
SED command to clean Mendeley output of URLs and '&'
sed -e '/^\s*\(file\|url\)\s*=\s*.*$/d' -e 's/\([^\\]\)\&/\1\\\&/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment