Skip to content

Commit ca0a021

Browse files
authored
Merge pull request #20992 from mvdbeek/fix_comp1
Fix comp1 / test_subworkflow_map_over_data_column
2 parents a4e4732 + 003cf64 commit ca0a021

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/filters/compare.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
<description>to find common or distinct rows</description>
33
<requirements>
44
<requirement type="package" version="8.31">coreutils</requirement>
5+
<requirement type="package" version="5.3.1">gawk</requirement>
56
</requirements>
67
<command><![CDATA[
78
join --nocheck-order -t \$'\t'
89
#if $mode == "V":
910
-v 1
1011
#end if
11-
-o "\$(seq -s, -f '1.%g' 1 \$(head -n1 '$input1' | tr '\t' '\n' | wc -l))"
12+
-o "\$(seq -s, -f '1.%g' 1 \$(head -n1 '$input1' | awk -F'\t' '{print NF}'))"
1213
-1 '$field1' -2 '$field2'
1314
<(sort -t \$'\t' -k '${field1},${field1}' '$input1')
1415
<(sort -t \$'\t' -k '${field2},${field2}' '$input2')

0 commit comments

Comments
 (0)