Sha256: 5e03450a29f14a678134c2cb5b54e5fad1e7a972e6181f38781855466479535c
Contents?: true
Size: 244 Bytes
Versions: 13
Compression:
Stored size: 244 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'bibtex' require 'yaml' if ARGV.empty? puts "Usage: #{$PROGRAM_NAME} <bib> [<yml>]" else out = ARGV.length == 2 ? File.open(ARGV[1], 'w') : STDOUT out.puts BibTeX.open(ARGV[0]).to_yaml end
Version data entries
13 entries across 13 versions & 2 rubygems