[Perl 5.8.8 on WinXP] Command line usage
- From: jeehannes@xxxxxxxxx (John Degen)
- Date: Mon, 18 Jun 2007 05:26:02 -0700 (PDT)
Hello,
I'm using Perl 5.8.8 from ActiveState on Windows XP. I'm trying to accomplish a search and replace in a number of files in the same directory from the command line (cmd.exe). The problem is that the command perl -i -e "s/old/new/" * fails silently, i.e. no changes take place. My question is: does * indicate all files in the current directory (this did work in the Windows version of sed I tried)? I cannot find this in the docs or using Google. Or am I making another mistake?
Thank you for your time.
John Degen
--
Sane sicut lux seipsam, & tenebras manifestat, sic veritas norma sui, & falsi est. -- Spinoza
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
.
- Follow-Ups:
- Re: [Perl 5.8.8 on WinXP] Command line usage
- From: Rob Dixon
- RE: [Perl 5.8.8 on WinXP] Command line usage
- From: Bob McConnell
- Re: [Perl 5.8.8 on WinXP] Command line usage
- Prev by Date: php to perl translation
- Next by Date: RE: [Perl 5.8.8 on WinXP] Command line usage
- Previous by thread: php to perl translation
- Next by thread: RE: [Perl 5.8.8 on WinXP] Command line usage
- Index(es):