xref: /freebsd/contrib/one-true-awk/testdir/lilly.progs (revision 23f24377b1a9ab6677f00f2302484d6658d94cab)
1*23f24377SWarner LoshBEGIN{foo=6;print foo/2}
2*23f24377SWarner LoshBEGIN{foo=10;foo/=2;print foo}
3*23f24377SWarner Losh/=/ {print $0}
4*23f24377SWarner Losh/==/ {print $0}
5*23f24377SWarner Losh/\+=/ {print $0}
6*23f24377SWarner Losh/\*=/ {print $0}
7*23f24377SWarner Losh/-=/ {print $0}
8*23f24377SWarner Losh/\/=/ {print $0}
9*23f24377SWarner Losh/%=/ {print $0}
10*23f24377SWarner Losh/^=/ {print $0}
11*23f24377SWarner Losh/!=/ {print $0}
12*23f24377SWarner Losh/<=/ {print $0}
13*23f24377SWarner Losh/>=/ {print $0}
14*23f24377SWarner Losh!/=/ {print $0}
15*23f24377SWarner Losh!/==/ {print $0}
16*23f24377SWarner Losh!/\+=/ {print $0}
17*23f24377SWarner Losh!/\*=/ {print $0}
18*23f24377SWarner Losh!/-=/ {print $0}
19*23f24377SWarner Losh!/\/=/ {print $0}
20*23f24377SWarner Losh!/%=/ {print $0}
21*23f24377SWarner Losh!/^=/ {print $0}
22*23f24377SWarner Losh!/!=/ {print $0}
23*23f24377SWarner Losh!/<=/ {print $0}
24*23f24377SWarner Losh!/>=/ {print $0}
25*23f24377SWarner Losh$0~/=/ {print $0}
26*23f24377SWarner Losh$0~/==/ {print $0}
27*23f24377SWarner Losh$0~/\+=/ {print $0}
28*23f24377SWarner Losh$0~/\*=/ {print $0}
29*23f24377SWarner Losh$0~/-=/ {print $0}
30*23f24377SWarner Losh$0~/\/=/ {print $0}
31*23f24377SWarner Losh$0~/%=/ {print $0}
32*23f24377SWarner Losh$0~/^=/ {print $0}
33*23f24377SWarner Losh$0~/!=/ {print $0}
34*23f24377SWarner Losh$0~/<=/ {print $0}
35*23f24377SWarner Losh$0~/>=/ {print $0}
36*23f24377SWarner Losh$0!~/=/ {print $0}
37*23f24377SWarner Losh$0!~/==/ {print $0}
38*23f24377SWarner Losh$0!~/\+=/ {print $0}
39*23f24377SWarner Losh$0!~/\*=/ {print $0}
40*23f24377SWarner Losh$0!~/-=/ {print $0}
41*23f24377SWarner Losh$0!~/%=/ {print $0}
42*23f24377SWarner Losh$0!~/^=/ {print $0}
43*23f24377SWarner Losh$0!~/!=/ {print $0}
44*23f24377SWarner Losh$0!~/<=/ {print $0}
45*23f24377SWarner Losh$0!~/>=/ {print $0}
46*23f24377SWarner Losh{if(match($0,/=/))print $0}
47*23f24377SWarner Losh{if(match($0,/\=/))print $0}
48*23f24377SWarner Losh{if(match($0,/==/))print $0}
49*23f24377SWarner Losh{if(match($0,/\+=/))print $0}
50*23f24377SWarner Losh{if(match($0,/\*=/))print $0}
51*23f24377SWarner Losh{if(match($0,/-=/))print $0}
52*23f24377SWarner Losh{if(match($0,/%=/))print $0}
53*23f24377SWarner Losh{if(match($0,/^=/))print $0}
54*23f24377SWarner Losh{if(match($0,/!=/))print $0}
55*23f24377SWarner Losh{if(match($0,/<=/))print $0}
56*23f24377SWarner Losh{if(match($0,/>=/))print $0}
57*23f24377SWarner Losh{if(!match($0,/=/))print $0}
58*23f24377SWarner Losh{if(!match($0,/==/))print $0}
59*23f24377SWarner Losh{if(!match($0,/\+=/))print $0}
60*23f24377SWarner Losh{if(!match($0,/\*=/))print $0}
61*23f24377SWarner Losh{if(!match($0,/-=/))print $0}
62*23f24377SWarner Losh{if(!match($0,/%=/))print $0}
63*23f24377SWarner Losh{if(!match($0,/^=/))print $0}
64*23f24377SWarner Losh{if(!match($0,/!=/))print $0}
65*23f24377SWarner Losh{if(!match($0,/<=/))print $0}
66*23f24377SWarner Losh{if(!match($0,/>=/))print $0}
67*23f24377SWarner Losh{if(split($0,foo,/=/))print $0}
68*23f24377SWarner Losh{if(split($0,foo,/\=/))print $0}
69*23f24377SWarner Losh{if(split($0,foo,/==/))print $0}
70*23f24377SWarner Losh{if(split($0,foo,/\+=/))print $0}
71*23f24377SWarner Losh{if(split($0,foo,/\*=/))print $0}
72*23f24377SWarner Losh{if(split($0,foo,/-=/))print $0}
73*23f24377SWarner Losh{if(split($0,foo,/\/=/))print $0}
74*23f24377SWarner Losh{if(split($0,foo,/%=/))print $0}
75*23f24377SWarner Losh{if(split($0,foo,/^=/))print $0}
76*23f24377SWarner Losh{if(split($0,foo,/!=/))print $0}
77*23f24377SWarner Losh{if(split($0,foo,/<=/))print $0}
78*23f24377SWarner Losh{if(split($0,foo,/>=/))print $0}
79*23f24377SWarner Losh{if(sub(/=/,"#"))print $0}
80*23f24377SWarner Losh{if(sub(/\=/,"#"))print $0}
81*23f24377SWarner Losh{if(sub(/==/,"#"))print $0}
82*23f24377SWarner Losh{if(sub(/\+=/,"#"))print $0}
83*23f24377SWarner Losh{if(sub(/\*=/,"#"))print $0}
84*23f24377SWarner Losh{if(sub(/-=/,"#"))print $0}
85*23f24377SWarner Losh{if(sub(/\/=/,"#"))print $0}
86*23f24377SWarner Losh{if(sub(/%=/,"#"))print $0}
87*23f24377SWarner Losh{if(sub(/^=/,"#"))print $0}
88*23f24377SWarner Losh{if(sub(/!=/,"#"))print $0}
89*23f24377SWarner Losh{if(sub(/<=/,"#"))print $0}
90*23f24377SWarner Losh{if(sub(/>=/,"#"))print $0}
91*23f24377SWarner Losh{if(gsub(/=/,"#"))print $0}
92*23f24377SWarner Losh{if(gsub(/\=/,"#"))print $0}
93*23f24377SWarner Losh{if(gsub(/==/,"#"))print $0}
94*23f24377SWarner Losh{if(gsub(/\+=/,"#"))print $0}
95*23f24377SWarner Losh{if(gsub(/\*=/,"#"))print $0}
96*23f24377SWarner Losh{if(gsub(/-=/,"#"))print $0}
97*23f24377SWarner Losh{if(gsub(/\/=/,"#"))print $0}
98*23f24377SWarner Losh{if(gsub(/%=/,"#"))print $0}
99*23f24377SWarner Losh{if(gsub(/^=/,"#"))print $0}
100*23f24377SWarner Losh{if(gsub(/!=/,"#"))print $0}
101*23f24377SWarner Losh{if(gsub(/<=/,"#"))print $0}
102*23f24377SWarner Losh{if(gsub(/>=/,"#"))print $0}
103*23f24377SWarner Losh{if(sub(/=/,"#",$0))print $0}
104*23f24377SWarner Losh{if(sub(/\=/,"#",$0))print $0}
105*23f24377SWarner Losh{if(sub(/==/,"#",$0))print $0}
106*23f24377SWarner Losh{if(sub(/\+=/,"#",$0))print $0}
107*23f24377SWarner Losh{if(sub(/\*=/,"#",$0))print $0}
108*23f24377SWarner Losh{if(sub(/-=/,"#",$0))print $0}
109*23f24377SWarner Losh{if(sub(/\/=/,"#",$0))print $0}
110*23f24377SWarner Losh{if(sub(/%=/,"#",$0))print $0}
111*23f24377SWarner Losh{if(sub(/^=/,"#",$0))print $0}
112*23f24377SWarner Losh{if(sub(/!=/,"#",$0))print $0}
113*23f24377SWarner Losh{if(sub(/<=/,"#",$0))print $0}
114*23f24377SWarner Losh{if(sub(/>=/,"#",$0))print $0}
115*23f24377SWarner Losh{if(sub(/=/,"#",$0))print $0}
116*23f24377SWarner Losh{if(gsub(/\=/,"#",$0))print $0}
117*23f24377SWarner Losh{if(gsub(/==/,"#",$0))print $0}
118*23f24377SWarner Losh{if(gsub(/\+=/,"#",$0))print $0}
119*23f24377SWarner Losh{if(gsub(/\*=/,"#",$0))print $0}
120*23f24377SWarner Losh{if(gsub(/-=/,"#",$0))print $0}
121*23f24377SWarner Losh{if(gsub(/\/=/,"#",$0))print $0}
122*23f24377SWarner Losh{if(gsub(/%=/,"#",$0))print $0}
123*23f24377SWarner Losh{if(gsub(/^=/,"#",$0))print $0}
124*23f24377SWarner Losh{if(gsub(/!=/,"#",$0))print $0}
125*23f24377SWarner Losh{if(gsub(/<=/,"#",$0))print $0}
126*23f24377SWarner Losh{if(gsub(/>=/,"#",$0))print $0}
127