10 lines
130 B
Plaintext
10 lines
130 B
Plaintext
|
{
|
||
|
for (i = 1; i <= NF; i++) {
|
||
|
if ($i ~ /^[0-9]+$/)
|
||
|
continue;
|
||
|
print $i, " is non-numeric"
|
||
|
next
|
||
|
}
|
||
|
print $0, "is all numeric"
|
||
|
}
|