Advertisement

05.13.2008 at 08:00PM PDT, ID: 23400158
[x]
Attachment Details

Command line to perform inline edits on multiple files in windows?

Asked by dneill8 in Perl Programming Language

Tags: Perl, ActiveState 5.8

I know this doesn't work but, combined with the question, I think it will point to what I'm trying to do

perl -pi.bak -e "s/AAAA/ZZZZ/g" *.*

This returns a
Can't open *.*: Invalid argument.
error.  Is there any way to feed a wildcarded list of files to a command-line-invoked perl inline edit?Start Free Trial
 
Loading Advertisement...
 
[+][-]05.13.2008 at 08:46PM PDT, ID: 21561109

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 08:51PM PDT, ID: 21561129

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 10:12PM PDT, ID: 21561419

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: Perl, ActiveState 5.8
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.14.2008 at 12:30PM PDT, ID: 21567848

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628