aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-json2bash
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
commitd85efb21fa554877b21f08a3ffdd51ebb49c55ca (patch)
tree1480b679bc1c29ecb396eb9396979ce8fcee2880 /bin/ak-json2bash
parent1c25589a8aca3d6dbb84a37240efd4652fbfeab7 (diff)
downloadarching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.gz
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.bz2
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.zip
Fix json2bash to ak-json2bash
Diffstat (limited to 'bin/ak-json2bash')
-rwxr-xr-xbin/ak-json2bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-json2bash b/bin/ak-json2bash
index 347ca93..171a7df 100755
--- a/bin/ak-json2bash
+++ b/bin/ak-json2bash
@@ -1,11 +1,11 @@
#!/bin/bash
#
-# json2bash
+# ak-json2bash
#
# Kaotisk Hund <kaotisk/kaotiskhund>
#
# Strips " , { } from input and replaces ":" with =
#
# Usage:
-# ipfs cat <hash> | json2bash
+# ipfs cat <hash> | ak-json2bash
sed -e 's/{//g' | sed -e 's/}//g' | sed -e 's/":"/=/g' | sed -e 's/"//g' | sed -e 's/,//g' | sed -e 's/ //g'