in reply to Re: One-liner search and replace with multiple files...on Windows.
in thread One-liner search and replace with multiple files...on Windows.

On Windows, *.txt isn't expanded by the shell as in Linux. But Perl can expand it itself: just use glob.

There is a module for that: Win32::Autoglob. With a minor patch, it would also work on the nearly-dead other Microsoft operating systems MS-DOS and OS/2 (see Re^3: Perl Rename).

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^2: One-liner search and replace with multiple files...on Windows.