xref: /aosp_15_r20/external/one-true-awk/testdir/t.3.x (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott Hughes {
2*9a7741deSElliott Hughes x = $1
3*9a7741deSElliott Hughes while (x > 1) {
4*9a7741deSElliott Hughes 	print x
5*9a7741deSElliott Hughes 	x = x / 10
6*9a7741deSElliott Hughes }
7*9a7741deSElliott Hughes }
8