tabulate -> column

This commit is contained in:
Peter Kleiweg
2026-03-25 18:37:09 +01:00
parent ac9e91082b
commit 8c858bdfbd

View File

@@ -139,7 +139,8 @@ else
fi
search () {
CMD="alto $@ '$EXPR' '$TEMPLATE' | $SORT | uniq -c | sed -e 's/\([0-9]\) */\1\t/' | sort -f -k 2 2> /dev/null | sort -n -r -k 1,1 -s 2> /dev/null | tabulate -s '\t' -f plain 2> /dev/null$TAIL"
# $'\t' in bash is een tab
CMD="alto $@ '$EXPR' '$TEMPLATE' | $SORT | uniq -c | sed -e 's/\([0-9]\) */\1\t/' | sort -f -k 2 2> /dev/null | sort -n -r -k 1,1 -s 2> /dev/null | column -t -s '"$'\t'"' -c 0 2> /dev/null$TAIL"
if [ $VERBOSE = 1 ]
then
echo "$CMD"