Skip to content

Commit

Permalink
Add ruby script which generates bib files of arbitrary size
Browse files Browse the repository at this point in the history
  • Loading branch information
simonharrer committed Apr 4, 2016
1 parent fe773cd commit 1edd7d3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/bib-file-generator.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
number_of_entries = 100_000

1.upto(number_of_entries) do |i|
puts """@article{id#{i},
title = {This is my title #{i}},
author = {Firstname#{i} Lastname#{i} and FirstnameA#{i} LastnameA#{i} and FirstnameB#{i} LastnameB#{i}},
journal = {Journal Title #{i}},
year = {#{i}}
}
"""
end

0 comments on commit 1edd7d3

Please sign in to comment.