JQ zaczyna się od
#Example json
json='[{"t":"12345"}, {"t":999}]'
#jq using starts with
echo $json | jq -r '.[] | select(.t | startswith("123"))'
Upvote answer :-)
#Example json
json='[{"t":"12345"}, {"t":999}]'
#jq using starts with
echo $json | jq -r '.[] | select(.t | startswith("123"))'