Unless you are on Microsoft Windows (which I'm guessing the original author is based on his topic tags). Windows must use double quotes around the perl code (single quotes simply do not work on Windows).
If you want to recurse into subdirectories, you'll need to write a script. The simplest way is to start with "find2perl . -name \*.fdf -exec replace_here \;" and then edit the resulting script.
Jornak
Make sure you're not copy-pasting your code from anywhere and typing it out yourself by hand as \0x93 is a Left double quote which isn't recognized by perl.
Yes. That command should work fine under Strawberry Perl. I just ran a very similar command under DWIM Perl (Strawberry Perl with some extra modules and utilities).
ran fine and did what was expected. Note that it will only run in the current directory - if you want it to recurse into sub-directories you must do something more complex (run manually in each, use File::Find, etc).
Open in new window