bin/mk
author hackbot
Sun, 30 May 2021 00:27:56 +0000
changeset 188 d9e553c67aa0
parent 180 74b55dab8c04
permissions -rwxr-xr-x
<Noisytoot> ` python --version

#!/bin/bash
[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"