If I have a file containing some escaped parsers, how can I replace all instances with an irreproducible finger using Perl?
i.e. rotate this:
.... foo\(bar ....
in that
.... foo(bar ....
I tried the following but received this error message:
perl -pe "s/\\\(/\(/g" ./file
Unmatched ( in regex; marked by <-- HERE in m/\\( <-- HERE / at -e line 1.
source
share