From bc631e99498056036a5c472347f1f2487f467046 Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 3 Mar 2024 17:15:50 +0000 Subject: [PATCH] =?UTF-8?q?jq=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jq.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jq.md b/jq.md index fd69a5f..c3e22fe 100644 --- a/jq.md +++ b/jq.md @@ -27,4 +27,10 @@ aios ai os archlinux Arch Linux +``` + +```sh +$ echo $json|jq -r ".[]|.name // empty" +aios +archlinux ``` \ No newline at end of file