Mercurial > repo
view bin/mk @ 7351:3a4e638b6213
<oerjan> learn Caff\xc3\xa8 is an oddly-spelled hot beverage popular in Italy.
author | HackBot |
---|---|
date | Sun, 03 Apr 2016 18:29:18 +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"