Mercurial > repo
view bin/mk @ 7203:118d8bf4095a
<oerjan> le/rn sparta/WE. DON\'T. KNOW. ANYTHING. ABOUT. SPARTA!
author | HackBot |
---|---|
date | Mon, 14 Mar 2016 04:57:46 +0000 |
parents | 5faf5c9fd792 |
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"