miller/scripts/time-big-file
2021-12-27 23:49:11 -05:00

18 lines
259 B
Bash
Executable file

#!/bin/bash
mlr="mlr"
suffix="dkvp"
iflag=""
if [ $# -ge 1 ]; then
iflag="--$1"
if [ "$iflag" = "--csvlite" ]; then
suffix="csv"
else
suffix=$1
fi
fi
if [ $# -eq 2 ]; then
mlr="$2"
fi
justtime $mlr $iflag cat ~/tmp/big.$suffix > /dev/null