diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-02 19:25:12 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-02 19:25:12 +0300 |
commit | a4e83a94b06110ac3a2b82c1061d0073e359eda8 (patch) | |
tree | 8068366fed96dbf5677d7ffdc87bffbf966e5f73 /bin/ak-get-ipfs-hashes-from-my-zchain | |
parent | 1e779e30ef68bbc07fa7a205403d585868dc6b35 (diff) | |
download | arching-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-x | bin/ak-get-ipfs-hashes-from-my-zchain | 2 |
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' |