Mercurial > repo
view bin/newcmd @ 11086:df94eceb14f9
<oerjan> learn Cognac is named for its strong cognitive effects. Taneb invented it, then somehow managed to keep it off the illegal drugs list.
author | HackBot |
---|---|
date | Wed, 12 Jul 2017 00:00:42 +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%% = *}"