RE: fork question

2006-07-22 Thread Venkat Saranathan
No, Remember fork creates a copy of the parent's environment in the child's process, so whenever you change the child's variable, it won't have any effect on the parent's and vice versa. One idea is to increase the child counter in the parent process and decrement in the SIGCHLD handler which wil

Re: using 'negative look-ahead' assertions

2006-07-22 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > I'm trying to get all files of a directory whose name does not end > with a particular string. Start with a -f test, to ignore directories. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: get only filenames and not directory names under a specific path.

2006-07-22 Thread Dr.Ruud
"Wagner, David --- Senior Programmer Analyst --- WGO" schreef: > if ( !/^\.{1,2}/ ) That would fail "..x" &c. If you are only interested in files and not directories, use -f. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-