annotate bin/mk @ 7540:395d3ff3f755

<Melvar> ` chmod +x bin/jq
author HackBot
date Tue, 26 Apr 2016 15:06:40 +0000
parents 5faf5c9fd792
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6667
5faf5c9fd792 <oerjan> ` sed -i \'s/> "...."/> "$(echo-p "$key")"/\' bin/mk
HackBot
parents: 6657
diff changeset
1 [[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"