view bin/newcmd @ 12482:e096592bcd13 draft

<b_jonas> `` set -e; cd /hackenv/wisdom; mv -vi comics comic
author HackEso <hackeso@esolangs.org>
date Tue, 16 May 2023 20:32:27 +0000
parents 73e048cb5d2f
children
line wrap: on
line source

if [ -a "$HACKENV/bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "$HACKENV/bin/${1%% = *}";chmod +x "$HACKENV/bin/${1%% = *}"