From b4a3bb7075861cd6c68dd69918b7cef1f0709f2c Mon Sep 17 00:00:00 2001 From: htaketani Date: Sun, 25 Feb 2024 04:42:40 +0900 Subject: [PATCH] jq: fix description and url (#12344) --- pages/common/jq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/jq.md b/pages/common/jq.md index 9fa80b3a4..aa19aaaa8 100644 --- a/pages/common/jq.md +++ b/pages/common/jq.md @@ -1,7 +1,7 @@ # jq > A command-line JSON processor that uses a domain-specific language (DSL). -> More information: . +> More information: . - Execute a specific expression (print a colored and formatted JSON output): @@ -23,7 +23,7 @@ `{{cat path/to/file.json}} | jq '{{.[index1], .[index2], ...}}'` -- Print all array items/object keys: +- Print all array/object values: `{{cat path/to/file.json}} | jq '.[]'`