Mercurial > repo
view bin/makelist @ 12284:82cb3de99d33 draft
<b_jonas> `` f=/hackenv/bin/botloop; >$f echo $\'#!/bin/sh\\necho no\'; chmod -c a+x "$f"
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 01 Jan 2020 09:35:29 +0000 |
parents | 5e74c372b097 |
children |
line wrap: on
line source
if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="$HACKENV/bin/$name"; makelistlist "$name"; shift; cp $HACKENV/bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done