Thankx for the help but i found another way to solve my problem.
Code:
#!/bin/sh echo "perl -00ne '/$1/ && print \$_' $ar/httpd.conf.bak27marn" > vl.sh /bin/sh vl.sh
as perl and shell both are differnt language they do understand different syntax so it would be good to redirect result in one file and run as perl.
Thank ...
Leave a comment: