Mercurial > repo
view bin/mk @ 10794:c2b7c7a04c70
<oerjan> sled bin/erro//s,.$,;s/$/\x0f/\',
author | HackBot |
---|---|
date | Sat, 22 Apr 2017 01:03:08 +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"