Next | Program Repair Shop | 43 |
Here's another benefit:
291 # jsj !!! better error handling if FIND fails: 292 # - get the retc 293 # - just let STDERR go thru? 294 #
Yeah, what if find fails?
The program ignores this:
303 open (pipefd, $cmd); ... 314 close (pipefd);
The improved version does too
But it's no longer a matter of interest
With the original version, there was no escape
With the improved version, the user has the option to include error checking:
find ... > /tmp/files && classify `cat /tmp/files`
Next | ![]() |
Copyright © 2006 M. J. Dominus |