Lines Matching full:print
11 BEGIN { x=0; print x; getline; print x, $0 }
20 BEGIN { x=0; print x; getline; print x, $0 }
29 BEGIN { x=0; print x; getline; print x, $0 }
39 BEGIN { x=0; print x; getline; print x, $0 }
47 $awk 'BEGIN { getline; print x}' x=4 /dev/null >foo2
52 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}' x=5 /dev/null >foo2
61 $awk 'BEGIN { x=0; getline; print x}
62 END { print x }' x=6 foo x=end >foo2
68 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}
69 END { print x }' x=7 /dev/null x=end >foo2
75 $awk 'BEGIN { _=0; getline <"/dev/null"; print _}
76 END { print _ }' _=7A /dev/null _=end >foo2
80 $awk '{ print }' 99_=foo /dev/null >foo 2>foo2
86 $awk -v x=123 'BEGIN { print x }' >foo2
90 $awk -vx=123 'BEGIN { print x }' >foo2
94 $awk -v x=123 -v y=abc -v z1=10.99 'BEGIN { print x, y, z1 }' >foo2
98 $awk -vx=123 -vy=abc -vz1=10.99 'BEGIN { print x, y, z1 }' >foo2
102 $awk -v x=123 -v y=abc -v z1=10.99 -- 'BEGIN { print x, y, z1 }' >foo2
105 echo 'BEGIN { print x, y, z1 }' >foo0
110 echo 'BEGIN { print x, y, z1 }' >foo0
115 echo 'BEGIN { print x, y, z1 }' >foo0
120 echo 'BEGIN { print x, y, z1 }' >foo0
125 echo 'BEGIN { print x, y, z1 }
126 END { print x }' >foo0
132 echo 'BEGIN { print x, y, z1 }
133 END { print x }' >foo0
139 echo 'BEGIN { print x, y, z1 }
140 NR==1 { print x }' >foo0
146 echo 'BEGIN { print x, y, z1 }
147 NR==1 { print x }' >foo0
159 ./echo 'hello' | $awk '{print x}' x='\141\\\\\142\\z' >foo2
164 ./echo 'hello' | $awk '{print x}' x='a\nz' >foo2
169 ./echo 'hello' | $awk '{print x}' x='a\b\r\fz' >foo2
176 $awk -vx 'BEGIN {print x}' >foo 2>&1
179 $awk -v x 'BEGIN {print x}' >foo 2>&1