diff options
Diffstat (limited to 'bib2tsv')
-rwxr-xr-x | bib2tsv | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,15 +12,18 @@ cat | awk ' } /^@.*\{/{ - cur =$0 + gsub("^[[:blank:]]+", "") + cur=$0 } /^\}[ ]*$/{ - print cur"\t"$0 + gsub("/^[[:blank:]]+/", "") + print cur"\t"$0"\n" } /^[ ]*.*=.*/{ + gsub("^[[:blank:]]+", "") cur=cur"\t"$0; } ' |