changeset 6652:a5bdda67e8d6

<fizzie> revert 6648
author HackBot
date Tue, 09 Feb 2016 00:30:35 +0000
parents 24dd0798035b
children d6339bb83073
files I don't know the syntax bin/mk contents how about now
diffstat 4 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/I don't know the syntax	Tue Feb 09 00:28:24 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-I don't know the syntax
--- a/bin/mk	Tue Feb 09 00:28:24 2016 +0000
+++ b/bin/mk	Tue Feb 09 00:30:35 2016 +0000
@@ -1,1 +1,1 @@
-[[ "$1" == ?*//* ]] || (echo usage: $0 file//contents >contents;2; exit 1); key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key" && echo "$key"
+[[ "$1" == ?*//* ]] || (echo usage: $0 file//contents; exit 1); key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key" && echo "$key"
--- a/contents	Tue Feb 09 00:28:24 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-usage: /hackenv/bin/mk file//contents
--- a/how about now	Tue Feb 09 00:28:24 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-how about now