changeset 6764:b76e90844898

<zgrep> overwrite bin/newcmd = if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}"
author HackBot
date Wed, 10 Feb 2016 04:23:26 +0000
parents 75632330eef3
children 619335f80fba
files bin/newcmd
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/newcmd	Wed Feb 10 04:23:26 2016 +0000
@@ -0,0 +1,1 @@
+if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}"