xref: /aosp_15_r20/external/one-true-awk/testdir/T.arnold (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott Hughesecho T.arnold: test fixes by Arnold Robbins 8/18
2*9a7741deSElliott Hughes# for which many thanks
3*9a7741deSElliott Hughes
4*9a7741deSElliott Hughesrm -rf arnold-fixes
5*9a7741deSElliott Hughestar xf arnold-fixes.tar
6*9a7741deSElliott Hughescd arnold-fixes
7*9a7741deSElliott Hughes
8*9a7741deSElliott Hughespwd
9*9a7741deSElliott Hughes
10*9a7741deSElliott Hughesawk=../../a.out
11*9a7741deSElliott Hughesls -l $awk
12*9a7741deSElliott Hughes
13*9a7741deSElliott Hughesfor i in *.awk
14*9a7741deSElliott Hughesdo
15*9a7741deSElliott Hughes  name=$(basename $i .awk)
16*9a7741deSElliott Hughes  #echo $name:
17*9a7741deSElliott Hughes  $awk -f $name.awk >foo.$name
18*9a7741deSElliott Hughes  diff $name.ok foo.$name || echo "BAD: T.arnold ($name)"
19*9a7741deSElliott Hughesdone
20