Mercurial > repo
view bin/mk @ 6933:1d197af57376
<oerjan> learn Veetans are a race of cuddly, yet sturdy aliens in the Drive comic. Their maximum lifespan is 25 years, but they use it well.
author | HackBot |
---|---|
date | Mon, 22 Feb 2016 21:59:48 +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"