Grégoire Sutre, 07/22/2010 03:09 pm
Download (228 Bytes)
#!/bin/sh
cat <<EOF
scm product :
nb_channels = 1 ;
parameters :
real a ;
EOF
i=1
while [ $i -le $1 ]; do
automaton proc$i :
initial : 0
state 0 : to 1 : when true ;
state 1 : to 0 : when true ;
i=$((i+1))
done