summary refs log tree commit diff
path: root/test/test.awk
blob: 2e3e301507e985bb915316dae300c2db25b1e4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN {
  print "#!/usr/bin/expect -f"
  print "spawn fennel main.fnl"
}

/^#/ { next }

{ print "expect -re \"Player .'s turn:\""
  print "send -- \"" $0 "\\r\""
}

END {
  print "interact"
}