Mercurial > repo
annotate bin/newcmd @ 11700:1a1efbb43242 draft
<b_jonas> `` set -e; cd share/mtg; iconv -f cp1252 -t utf-8 MagicCompRules_20190125.txt | tr -d \\\\r > rules.txt
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 26 Jan 2019 23:00:43 +0000 |
parents | b76e90844898 |
children | 73e048cb5d2f |
rev | line source |
---|---|
6764
b76e90844898
<zgrep> overwrite bin/newcmd = if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}"
HackBot
parents:
diff
changeset
|
1 if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}" |