view bin/newcmd @ 11194:f6fc0c04c35c

<shachaf> swrjan s/indecipherable/shifting flame/
author HackBot
date Thu, 21 Sep 2017 00:34:33 +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%% = *}"