[news.software.b] C News "staleness" vs. Ultrix

henry@zoo.toronto.edu (Henry Spencer) (04/06/91)

I've just added the following to notebook/problems; this preprint may be
of help to people saddled with Ultrix...

  .SH
  staleness vs. Ultrix
  .PP
  Several Ultrix users have reported a problem with the ``staleness''
  command.
  It seems Ultrix's sed is an antique and blows up on the complex
  regular expression in staleness.
  A fix, at some small cost in performance, is to change the last four lines
  of staleness to something like
  .DS
  exec awk '$1 == "/expired/" { print "-o", $3 }' $NEWSCTL/explist
  .DE
-- 
"The stories one hears about putting up | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 are all true."  -D. Harrison|  henry@zoo.toronto.edu  utzoo!henry