view bin/mk @ 9295:8d2b73b8d21f

<hppavilion[1]> learn Logic is just another tool that the true scotsMan uses to keep you down.
author HackBot
date Sun, 16 Oct 2016 07:13:36 +0000
parents c989a1669243
children
line wrap: on
line source

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