From d27f1f908b96d6f8ddd547dfafac16e19c987f4e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 8 Sep 2021 12:52:45 +0200 Subject: tasks: adjust separator --- python/refcat/techreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/refcat/techreport.py b/python/refcat/techreport.py index beb0500..cc35b7a 100644 --- a/python/refcat/techreport.py +++ b/python/refcat/techreport.py @@ -40,7 +40,7 @@ class BrefDOIOnly(Refcat): output = shellout(r""" zstdcat -T0 {input} | parallel --pipe -j 16 --block 10M "jq -rc '[.source_doi, .target_doi] | @tsv'" | - tr ' ' ',' | + tr $'\t' ',' | perl -F, -lane 'printf qq[%s\n], join ",", sort @F' | zstd -c -T0 > {output} """, -- cgit v1.2.3