miller/docs/src/example-shell-script
2021-12-25 14:14:30 -05:00

6 lines
123 B
Bash
Executable file

#!/bin/bash
mlr --c2p \
filter '$quantity != 20' \
then count-distinct -f shape \
then fraction -f count \
-- "$@"