jq
select 文で検索 select(boolean_expression) The function select(foo) produces its input unchanged if foo returns true for that input, and produces no output otherwise. It´s useful for filtering lists: [1,2,3] | map(select(. >= 2)) will give you [2,3]. select 文で検索: and or $ cat hoge.json | jq '.[] | select(.Tags[].Key == "Name" and .Tags[].Value == "app.commonlisp")' select 文の検索: startswith で先頭一致 (jq v1.5 以降で動いた. 1.3 とかはだめだった) $ cat wine.jl | jq '.[] | select(.name | startswith("Pinot"))' select 文の検索: test で正規表現 $ cat wine.jl