bin/mk
author hackbot
Sat, 29 May 2021 19:17:48 +0000
changeset 168 7db5e1f82118
parent 157 260b4289d533
permissions -rwxr-xr-x
<cd> ` gcc pikhqbow.c -O2 -o pikhqbow > ../fuck
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
157
260b4289d533 <cd> bashify /hackenv/bin/mk
hackbot
parents: 41
diff changeset
     1
#!/bin/bash
41
hackbot
parents: 39
diff changeset
     2
[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"