aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-get-ipfs-hashes-from-my-zchain
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
commita4e83a94b06110ac3a2b82c1061d0073e359eda8 (patch)
tree8068366fed96dbf5677d7ffdc87bffbf966e5f73 /bin/ak-get-ipfs-hashes-from-my-zchain
parent1e779e30ef68bbc07fa7a205403d585868dc6b35 (diff)
downloadarching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.gz
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.bz2
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.zip
Eliminated json_pp usage
Diffstat (limited to 'bin/ak-get-ipfs-hashes-from-my-zchain')
-rwxr-xr-xbin/ak-get-ipfs-hashes-from-my-zchain2
1 files changed, 1 insertions, 1 deletions
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'