Mercurial > repo
view bin/newcmd @ 7320:0af662e3f11e
<hppavilion[1]> mkx bin/scold//echo "BAD! BAD ${1^^}!"
author | HackBot |
---|---|
date | Wed, 30 Mar 2016 03:28:48 +0000 |
parents | b76e90844898 |
children | 73e048cb5d2f |
line wrap: on
line source
if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}"