Skip to content

Instantly share code, notes, and snippets.

View Treblesteph's full-sized avatar
🪲

Stephanie Unna Treblesteph

🪲
View GitHub Profile
@Treblesteph
Treblesteph / cleanup_bibtex.rb
Last active December 20, 2015 03:49 — forked from blahah/cleanup_bibtex.rb
explicit encoding declaration avoids conflicts for non-ASCII chars
#!/usr/bin/env ruby
# encoding: utf-8
# clean up bibtex files by removing unwanted fields,
# replacing troublesome strings and removing bad
# characters
removefields = ['note',
'copyright',
'issn',