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
[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
"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-