Sample Header Ad - 728x90

Executing `yq`, but `jq` gets executed

1 vote
2 answers
949 views
I am very confused. I installed the Debian package yq But if I call it, jq gets executed:
root@rescue ~ # echo '{"key": "value"}' | yq -p=json
jq: Unknown option -p=json
Use jq --help for help with command-line options,
or see the jq manpage, or online docs  at https://stedolan.github.io/jq 
root@rescue ~ # cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/ "
SUPPORT_URL="https://www.debian.org/support "
BUG_REPORT_URL="https://bugs.debian.org/ "
Asked by guettli (1589 rep)
Apr 8, 2024, 09:27 AM
Last activity: Apr 8, 2024, 01:46 PM