Mercurial > repo
view bin/mk @ 9275:5d551f13ec2c
<oerjan> learn The Procrasti were an ancient people whose nation would have been a great empire if they\'d ever got around to it.
author | HackBot |
---|---|
date | Thu, 13 Oct 2016 23:36:51 +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"