Mercurial > repo
view bin/newcmd @ 12053:79ccc7d404cb draft
<fizzie> sled /hackenv/bin/spore//s|/hackenv/tmp/|$HACKENV/tmp/|g
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 21:35:56 +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%% = *}"