From a4e83a94b06110ac3a2b82c1061d0073e359eda8 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 2 Apr 2023 19:25:12 +0300 Subject: Eliminated json_pp usage --- bin/ak-get-ipfs-hashes-from-my-zchain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ak-get-ipfs-hashes-from-my-zchain') diff --git a/bin/ak-get-ipfs-hashes-from-my-zchain b/bin/ak-get-ipfs-hashes-from-my-zchain index db90ecb..3640cc5 100755 --- a/bin/ak-get-ipfs-hashes-from-my-zchain +++ b/bin/ak-get-ipfs-hashes-from-my-zchain @@ -1,2 +1,2 @@ #!/bin/bash -enter | json_pp | grep Qm | sed -e 's/{"zblock":"//g; s/",//; s/".*".*: "//g; s/"//g; s/{//g; s/://g; s/ //g' +enter | jq -M | grep Qm | sed -e 's/{"zblock":"//g; s/",//; s/".*".*: "//g; s/"//g; s/{//g; s/://g; s/ //g' -- cgit v1.2.3