File: bib-file-generator.rb

package info (click to toggle)
jabref 3.8.1%2Bds-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,336 kB
  • sloc: java: 114,114; xml: 3,985; python: 283; sh: 282; perl: 200; ruby: 22; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
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