Skip to content

Commit

Permalink
Fix tab character in uf-sort
Browse files Browse the repository at this point in the history
  • Loading branch information
zwets committed Apr 20, 2018
1 parent d30aae2 commit 5058eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uf-sort
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ awk -b -O -v OFS='\t' '
' "$@" |
# Sort in order
#LC_ALL=C sort $REVERSE --buffer-size=1G --key='1rn,2' -t ' ' - |
LC_ALL=C sort $REVERSE --key='1rn,2' -t ' ' - |
LC_ALL=C sort $REVERSE --key='1rn,2' -t "$(printf '\t')" - |
# And unpack again - let's hope there are no tabs in headers ...
awk -b -O -F '\t' '{ print $3; print $2; }'

Expand Down

0 comments on commit 5058eb2

Please sign in to comment.