From 23c79cc00eb5d8e76148d79af83a9ab838e602f3 Mon Sep 17 00:00:00 2001 From: Graham Northup Date: Tue, 12 Feb 2019 23:34:38 -0500 Subject: Pushing old work --- make_n_gen.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 make_n_gen.sh (limited to 'make_n_gen.sh') 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 "]" -- cgit v1.2.3-70-g09d2