freshgrill
asked on
Perl command line search replace word with apostrophe in it
I trying to search and replace using Perl on the command line, not sure how to escape the apostrophe in the command.
ie. Replace Latest's -> Latest
perl -pi -e 's/Latest''s/Latest/g' *.pl <- doesn't work
ie. Replace Latest's -> Latest
perl -pi -e 's/Latest''s/Latest/g' *.pl <- doesn't work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.