StarWeb
01-24-2006, 07:52 PM
Ok, why does:
cat /usr/local/apache/conf/httpd.conf | grep $ARG1 -B 13 -A 10 > /tmp/httpd.conf
Return the 27 lines of httpd.conf that i want to delete, but:
cat /usr/local/apache/conf/httpd.conf | grep -v $ARG1 -B 13 -A 10 > /tmp/httpd.conf
Return the whole httpd.conf, line by line and does not remove the 27 lines?
Thanks,
cat /usr/local/apache/conf/httpd.conf | grep $ARG1 -B 13 -A 10 > /tmp/httpd.conf
Return the 27 lines of httpd.conf that i want to delete, but:
cat /usr/local/apache/conf/httpd.conf | grep -v $ARG1 -B 13 -A 10 > /tmp/httpd.conf
Return the whole httpd.conf, line by line and does not remove the 27 lines?
Thanks,
