Mercurial > repo
view bin/mk @ 12224:835fa4a97e0b draft
<oerjan> slwd scow//s,.$, and an extra half-spin.,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 04 Dec 2019 03:10:12 +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"