|
|
1.1 root 1: {
2: for (i = 1; i <= NF; i++) {
3: if ($i ~ /^[0-9]+$/)
4: continue;
5: print $i, " is non-numeric"
6: next
7: }
8: print $0, "is all numeric"
9: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.