Mercurial > repo
view bin/newcmd @ 11282:0987fcb66a1c
<oerjan> learn The porthellingularity will happen when boily starts making a porthello and cannot stop braiding in more and more words.
author | HackBot |
---|---|
date | Mon, 25 Dec 2017 18:53:10 +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%% = *}"