It seems that Perl can't recognize the regex in the second grep. What's the correct way to do it?my @load = `ps -ef | grep neversaint | grep 'somecmnd.exe$' | wc -l`;
In reply to Quoting in Backtick by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |