Stuart Henderson wrote:
there are other builtins, too: $ for i in /var/run/*.pid;do read x < $i; echo $i $x; doneIf you really need to find httpd's pid, you could sacrifice one ofoh, 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.

