diff options
author | Graham Northup <grissess@nexusg.org> | 2019-02-12 23:34:38 -0500 |
---|---|---|
committer | Graham Northup <grissess@nexusg.org> | 2019-02-12 23:34:38 -0500 |
commit | 23c79cc00eb5d8e76148d79af83a9ab838e602f3 (patch) | |
tree | cb95ae3508d9a817cd9d828e5630325b5168745a /make_n_gen.sh | |
parent | 1b3b39e174e26871a0ddb613c80a8e987f6547e5 (diff) |
Pushing old workwork
Diffstat (limited to 'make_n_gen.sh')
-rwxr-xr-x | make_n_gen.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/make_n_gen.sh b/make_n_gen.sh new file mode 100755 index 0000000..cebb165 --- /dev/null +++ b/make_n_gen.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +GEN="${2:-gens/test_basic.gen}" + +echo "[" +for i in $(seq $1); do + echo -ne "\t#${GEN}#" + if [ "$i" -eq "$1" ]; then + echo + else + echo "," + fi +done +echo "]" |