Mercurial > repo
view bin/mk @ 8398:b16fca836613
<boily> le/rn submarine jousting/This is unexplainable.
author | HackBot |
---|---|
date | Tue, 07 Jun 2016 22:39:38 +0000 |
parents | ff34e0948c3e |
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"