Mercurial > repo
view bin/newcmd @ 11238:c3e03ef4ec7a
<boily> slwd atm//s/steal/duplicate/
author | HackBot |
---|---|
date | Mon, 06 Nov 2017 12:22:31 +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%% = *}"