Mercurial > repo
view bin/mk @ 8925:a342fbe67f84
<oerjan> learn Mole is a unit for measuring large numbers of burrowing teeth.
author | HackBot |
---|---|
date | Tue, 16 Aug 2016 23:15:08 +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"