mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
18 lines
259 B
Bash
Executable file
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
|