aboutsummaryrefslogtreecommitdiff
path: root/bin/json2bash
diff options
context:
space:
mode:
Diffstat (limited to 'bin/json2bash')
-rwxr-xr-xbin/json2bash11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/json2bash b/bin/json2bash
deleted file mode 100755
index 347ca93..0000000
--- a/bin/json2bash
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-#
-# json2bash
-#
-# Kaotisk Hund <kaotisk/kaotiskhund>
-#
-# Strips " , { } from input and replaces ":" with =
-#
-# Usage:
-# ipfs cat <hash> | 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'