bin/mk
author hackbot
Sat, 29 May 2021 01:21:46 +0000
changeset 139 c9771114e532
parent 41 9adbf03703a4
child 157 260b4289d533
permissions -rwxr-xr-x
<cd> ` bashify /hackenv/bin/{4x,annoy,bashify,bce,bold,bonk,botsnack,botsnak,cookie,dcx,echo-p,envdemo,gtfo,info,jsx,la,mk,mkinfo,mkx,ping,px,test,trout,welcome,whale}
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
hackbot
parents: 39
diff changeset
     1
[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"