#!/bin/bash
#
# ak-json2bash
#
# Kaotisk Hund <kaotisk/kaotiskhund>
#
# Strips " , { } from input and replaces ":" with =
#
# Usage:
# ak-ipfs-cat <hash> | ak-json2bash
sed -e 's/{//g; s/}//g; s/:/=/g; s/"//g; s/,//g; s/ //g'