Closed egarpor closed 4 years ago
I have been running
bibtool -S -sort.format='{%s($year)}' -i example.bib -o example_sorted.bib
You want to use
bibtool -S --'sort.format{%d(year)}' -i example.bib -o example_sorted.bib
Note: sort.format
is no command line option but a resource statement.
Also note: the order within a year is undefined...
Many thanks! That did work :)
I have been running
with version 2.67 on the next
example.bib
file:But the output that I get is not sorted by year:
Tried also with
-s
, and-sort.format='{%4d($year)}
and-sort.format='%d($year)
, but no luck. Help is much appreciated!