Newsgroups: news.software.b Path: utzoo!utgpu!watserv1!watmath!gamiddle From: gamiddle@watmath.waterloo.edu (Guy Middleton) Subject: why has DEC (and nobody else) broken sed? Message-ID: <1991Apr5.164514.12696@watmath.waterloo.edu> Organization: Orbital Mind Control Lasers Date: Fri, 5 Apr 1991 16:45:14 GMT Lines: 8 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