Mercurial > repo
view bin/mk @ 11251:4f78ebb7e1b8
<oerjan> learn The password of the month is equally offensive to all beliefs (but not time zones)
author | HackBot |
---|---|
date | Fri, 01 Dec 2017 03:01:21 +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"