xref: /freebsd/contrib/one-true-awk/testdir/t.3.x (revision 23f24377b1a9ab6677f00f2302484d6658d94cab)
1*23f24377SWarner Losh {
2*23f24377SWarner Losh x = $1
3*23f24377SWarner Losh while (x > 1) {
4*23f24377SWarner Losh 	print x
5*23f24377SWarner Losh 	x = x / 10
6*23f24377SWarner Losh }
7*23f24377SWarner Losh }
8