summaryrefslogtreecommitdiff
path: root/make_n_gen.sh
blob: cebb165fb45479f1df9dde55932b211d16b56138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 "]"