view bin/mk @ 6754:7dd892d4c51b

<zgrep> overwrite bin/tomfoolery = test
author HackBot
date Wed, 10 Feb 2016 04:02:57 +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"