aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-json2bash
diff options
context:
space:
mode:
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'