#takes output of discom and only keeps values above # a user set cutoff (sig_value in main script) #script will replace all values less than or equal to cutoff by *.** #M. Nelson 4/18/96 BEGIN { sig_value = ENVIRON["SIG_VALUE"] } { printf("%3s %4s %3s ",$1,$2,$3) n = 3 while (n++ < NF) { if ($n >= sig_value || -($n) >= sig_value ) { printf("%6s ",$n) } else printf(" *.** ") } printf("\n") }