perl mass text replace with literal dollar sign
- by user12145
trying to replace text patterns with dollar signs and ()s, can't get it to work. please help
find /var/www/vhosts/prod/xxx/ -name "*.php"|xargs perl -w -i -p -e "s/mysql_fetch_array($res,MYSQL_ASSOC)/mysql_fetch_assoc(\$res);/g"