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
Building This Site - サイト構築メモ このサイトを構築するためのメモ。だいぶ雑。 Hugo 使い方 手順通りやるだけでした。ここでは Hugo のインストールからテーマの導入、設定、コンテンツの書き方までをメモします。 Hugo のインストール homebrew brew install hugo create site hugo new site hugoquickstart cd hugoquickstart git init テーマ探し 公式に