<moon__> ` mv bin/mk bin/derp/mk
author |
HackBot |
date |
Sat, 07 May 2016 01:45:35 +0000 |
parents |
234caea65953 |
children |
590419ef61ff |
files |
bin/derp/mk bin/mk |
diffstat |
2 files changed, 1 insertions(+), 1 deletions(-)
[+]
|
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/derp/mk Sat May 07 01:45:35 2016 +0000
@@ -0,0 +1,1 @@
+[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"
--- a/bin/mk Sat May 07 01:45:27 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"