Mercurial > repo
annotate bin/newcmd @ 9493:4f3d1f30b321
<Zarutian> le/rn essay/To essay is to try, and while doing that showing your work in writing.
author | HackBot |
---|---|
date | Sat, 29 Oct 2016 00:50:25 +0000 |
parents | b76e90844898 |
children | 73e048cb5d2f |
rev | line source |
---|---|
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%% = *}"
HackBot
parents:
diff
changeset
|
1 if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}" |