From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,ea43b7283d93b171,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,ea43b7283d93b171,start X-Google-Attributes: gidfee84,public From: Slavisa Lukic Subject: awk creating Date: 1997/04/24 Message-ID: <335F636B.E7AE4CF0@landisgyr.com>#1/1 X-Deja-AN: 237033455 X-Priority: 3 (Normal) Organization: Unisource Business Networks Newsgroups: comp.unix.programmer,comp.unix.osf.osf1 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 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.