[news.software.b] why has DEC

gamiddle@watmath.waterloo.edu (Guy Middleton) (04/06/91)

Latest cnews has a new script, 'staleness', which causes DEC Ultrix 4.0 sed to
blow up:

RE too long: s/^[^	 ]*[	 ][	 ]*[^	 ]*[	 ][	 ]*\([^	 .]*\)[	 .].*/-o \1/p

So I changed staleness to use awk instead:

exec awk '/^\/expired\// { printf "-o %s\n", $3 }' $NEWSCTL/explist