From 286b71a6ead8c7234cfbc0b8ece05c8239a4f32c Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 29 Mar 2023 23:45:49 +0300 Subject: Renamed everything --- bin/ak-json2bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/ak-json2bash (limited to 'bin/ak-json2bash') diff --git a/bin/ak-json2bash b/bin/ak-json2bash new file mode 100755 index 0000000..347ca93 --- /dev/null +++ b/bin/ak-json2bash @@ -0,0 +1,11 @@ +#!/bin/bash +# +# json2bash +# +# Kaotisk Hund +# +# Strips " , { } from input and replaces ":" with = +# +# Usage: +# ipfs cat | 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' -- cgit v1.2.3