annotate bin/mk @ 6912:f6cfe22a201c

<lifthrasiir> ` (echo \'#!/bin/sh\'; echo \'echo Nice try.\') > bin/man && chmod a+x bin/man
author HackBot
date Fri, 19 Feb 2016 06:08:34 +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"