I'm checking to see if I can replace an include like this:
#include <pathFoo/whatever.H>
with:
#include "whatever.H"
to do so I would use the -i switch, but to check I am doing it correctly I am simply using the -p switch without -i. I have the following command:
perl -p -e 's/<pathFoo\/\(.*\)>/"$1"' thefile
but this isn't quite working and i'm not exactly sure which part is off?