summaryrefslogtreecommitdiff
path: root/make_n_gen.sh
blob: 5dab007ecc3f332222965e8bd47eb86906b9fb0c (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
	printf "\t#${GEN}#"
	if [ "$i" -eq "$1" ]; then
		echo
	else
		echo ","
	fi
done
echo "]"