> > Nothing wrong, but can be made more efficient because "| grep" means > > another subprocess which can be eliminated if the shell silents the > > Terminate command in the first place.
Then why not try the approach I outlined in the previous message, instead of sticking with something that you don't like? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/