view bin/mk @ 8098:7a3c984b2539

<oerjan> learn admn is the curse of people with cdop.
author HackBot
date Mon, 23 May 2016 01:07:47 +0000
parents ff34e0948c3e
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"