aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 15:01:18 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 15:01:18 +0300
commit2ae56344014bf86f60332bf138e9492b0e257093 (patch)
treea19f2ad7e6cdbcaed4832c16df95f51100c93939
parent51fe782476c82bccb7517737a9c8df9f574e4a91 (diff)
downloadarching-kaos-tools-2ae56344014bf86f60332bf138e9492b0e257093.tar.gz
arching-kaos-tools-2ae56344014bf86f60332bf138e9492b0e257093.tar.bz2
arching-kaos-tools-2ae56344014bf86f60332bf138e9492b0e257093.zip
ak-json2bash: also remove brackets when converting
-rwxr-xr-xbin/ak-json2bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-json2bash b/bin/ak-json2bash
index 3ff6bef..70b0d3b 100755
--- a/bin/ak-json2bash
+++ b/bin/ak-json2bash
@@ -8,4 +8,4 @@
#
# Usage:
# ak-ipfs-cat <hash> | ak-json2bash
-sed -e 's/{//g; s/}//g; s/:/=/g; s/"//g; s/,//g; s/ //g'
+sed -e 's/{//g; s/}//g; s/:/=/g; s/"//g; s/,//g; s/ //g; s/\[//g; s/]//g'