• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3uname -a
4gcc echo.c -o echo && echo echo compiled
5
6oldawk=${oldawk-awk}
7awk=${awk-../a.out}
8
9echo oldawk=$oldawk, awk=$awk
10
11oldawk=$oldawk awk=$awk Compare.t t.*
12	echo `ls t.* | wc -l` tests; echo
13
14oldawk=$oldawk awk=$awk Compare.p p.? p.??*
15	echo `ls p.* | wc -l` tests; echo
16
17oldawk=$oldawk awk=$awk Compare.T1
18	echo `grep '\$awk' T.* | wc -l` tests; echo
19
20oldawk=$oldawk awk=$awk Compare.tt tt.*
21	echo `ls tt.* | wc -l` tests; echo
22