awk/testdir/t.6

9 lines
76 B
Groff
Raw Normal View History

2019-06-23 05:13:57 -04:00
/a|b|c/ {
i = $1
print
while (i >= 1) {
print " ", i
i = i / 10
}
}