Hi,
The following command works at command line but not from a script. Any reason? When I copy paste the same command displayed at runtime on screen (using set -x) , it produces result. However, it doesn't give result from the script.
`egrep ''"'($keyword1"'|'"$keyword2)'"'' /var/adm/syslog/syslog.log`
Thanks.
The following command works at command line but not from a script. Any reason? When I copy paste the same command displayed at runtime on screen (using set -x) , it produces result. However, it doesn't give result from the script.
`egrep ''"'($keyword1"'|'"$keyword2)'"'' /var/adm/syslog/syslog.log`
Thanks.