Mercurial > repo
view bin/newcmd @ 11942:4642242a7945 draft
<wib_jonas> fetch bin/beat https://hack.esolangs.org/get/bin/beat
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 17 Sep 2019 13:32:58 +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%% = *}"