Skip to content

Instantly share code, notes, and snippets.

@anderflash
Created December 3, 2013 05:00
Show Gist options
  • Save anderflash/7764108 to your computer and use it in GitHub Desktop.
Save anderflash/7764108 to your computer and use it in GitHub Desktop.
Remove backslashes from 'url' field of exported Mendeley .bib files (correcting article links)
#!/bin/sh
# correctBibUrl <library.bib> <outputLibrary.bib>
cat "$1" | sed -e '/^url/s/[\\]//g' > "$2"
@anderflash
Copy link
Author

If you know Portuguese, there is a good link about sed.

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