K
Kimi
Hi,
I am trying to use grep mutiple values using grep command in my perl
script.
The command ---> ps -awwwx | grep 'Applications\|System' gives the
list of process which has Application OR System
When i try to use the similar expression in my Perl scripts, I am not
getting the expected output. Are the syntax different in perl? Can
somebody help me out in this case...
The corresponding line for grepping in my perl read as ---->
my $output = ` cat $accumulated_mail_body | grep
'Application\|System\|Corrupt block' | sort | uniq -c`;
regards,
Fahad
I am trying to use grep mutiple values using grep command in my perl
script.
The command ---> ps -awwwx | grep 'Applications\|System' gives the
list of process which has Application OR System
When i try to use the similar expression in my Perl scripts, I am not
getting the expected output. Are the syntax different in perl? Can
somebody help me out in this case...
The corresponding line for grepping in my perl read as ---->
my $output = ` cat $accumulated_mail_body | grep
'Application\|System\|Corrupt block' | sort | uniq -c`;
regards,
Fahad