view bin/mk @ 11031:a8d1c443235e

<__kerbal___> learn Bing Microsoft\'s attempt to hijack Google\'s good ideas
author HackBot
date Wed, 28 Jun 2017 13:40:27 +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"