view bin/mk @ 12135:b765b19f948b draft

<b_jonas> `` /bin/sed -i \'s"http:"https:"\' /hackenv/tmflry/brainfuck
author HackEso <hackeso@esolangs.org>
date Sun, 17 Nov 2019 17:04:55 +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"