Mercurial > repo
view bin/mk @ 7718:76f48bd3f800
<moon_> mkx bin/uristfail//echo urist was killed in a goblin seige attempting to retreive a spare sock #temportary
author | HackBot |
---|---|
date | Wed, 04 May 2016 00:41:09 +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"