Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Slavisa Lukic <lukic@landisgyr.com>
Subject: awk creating <defunct>
Date: 1997/04/24	[thread overview]
Message-ID: <335F636B.E7AE4CF0@landisgyr.com> (raw)


I have written a simple front-end to emulate "sccs info" command for
RCS. That seemed to be a simple task, but it does not. When i issue the
command I am getting a lot of defunct processes during the running.
These all <defunct> appear and disappear for each file processed (inside
the "for fil in $RCS/*), some time the max. processes limit is reached.

The script is:

    for fil in $RCS_DIR/*
    do
     rlog -V5 -L -h  $fil | awk '/Working file:/{printf"RCS:%s is beeing
edited: ",$3} /locks:/,/access
list:/{if($1!="locks:"&&$1!="access")printf"%s %s\n ",$2,$1}'
   done

what is wron with this script?

Please make a CC to e-mail

Slavisa Lukic
Landis & Gyr Europe Corp.




                 reply	other threads:[~1997-04-24  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox