Hi,
You could use a do{}while instead, and code it all in a more perlish way, but that a style/efficiency thing, the important thing I see here, is that you shouldn't use things like this: `ps -ef | grep $pid.log`; because this is unsafe. Allways use absolute path for your external commands.
Take a look at:
http://www.mclibrary.edu.mn/itbooks/CD2/howto/Secure-Programs-HOWTO/index.html
perlsec
Regards,
:-)In reply to Re: How to get more than 80 characters out of PS
by fmerges
in thread How to get more than 80 characters out of PS
by rzs96
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |