view bin/mk @ 12182:2e3de62d1c5c draft

<wib_jonas> delquote 1213
author HackEso <hackeso@esolangs.org>
date Fri, 22 Nov 2019 11:46:18 +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"