From 09b56135d19b98a21c490b53d54b688c9ff23aa2 Mon Sep 17 00:00:00 2001 From: William Robinet Date: Tue, 31 Aug 2021 12:11:50 +0200 Subject: [PATCH] Fix jq parse error on special chars --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a4e8e9..5a504e3 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,7 @@ The domain to query is `.dns.hashlookup.circl.lu`. The query can be `info ## Info of the hashlookup database ``` -dig +short -t TXT info.dns.hashlookup.circl.lu | jq -r . | jq . +dig +short -t TXT info.dns.hashlookup.circl.lu | jq -j . | jq . ``` ~~~json @@ -298,7 +298,7 @@ dig +short -t TXT info.dns.hashlookup.circl.lu | jq -r . | jq . ## Query of a hash ``` -dig +short -t TXT 931606baaa7a2b4ef61198406f8fc3f4.dns.hashlookup.circl.lu | jq -r . | jq . +dig +short -t TXT 931606baaa7a2b4ef61198406f8fc3f4.dns.hashlookup.circl.lu | jq -j . | jq . ``` ~~~json