1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 15:42:07 +03:00
fq/doc/display_json.sh
Mattias Wadman f0ce7179b2 doc: Document display and some more jq hints
Also fixed some verbose -> dv leftovers
2022-01-29 13:10:25 +01:00

13 lines
144 B
Bash
Executable File

#!/bin/bash
FQ="$1"
s() {
echo "\$ $1"
sh -c "${1/fq/$FQ -o unicode=true -C}"
}
s "fq -n '\"hello\"'"
echo
s "fq -n '\"hello\" | d'"