Stuart Henderson wrote:
there are other builtins, too:
$ for i in /var/run/*.pid;do read x < $i; echo $i $x; done

If you really need to find httpd's pid, you could sacrifice one of

oh, of course.. /var/www/logs/httpd.pid

I did try the cat, and more witch both reply with "cannot fork - try again." Didn't think or echo, may have worked, or may not. Not sure that it is built in sh, or ksh shell.

The "read" did the truck however.

Reply via email to