Mercurial > repo
view bin/newcmd @ 11438:400e4198a359
<oerjan> mkx bin/,2//nur "$@" |& sport 2
author | HackBot |
---|---|
date | Sat, 03 Mar 2018 02:34:34 +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%% = *}"