bin/mk
author hackbot
Sat, 22 May 2021 19:30:01 -0500
changeset 39 14cd90d82626
parent 38 tmp/mk@a7d03a981b51
child 41 9adbf03703a4
permissions -rw-r--r--
<cd> ` mv mk /hackenv/bin/mk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
a7d03a981b51 <cd> fetch mk https://pybin.pw/DLNa
hackbot
parents:
diff changeset
     1
​[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"