> -----Original Message----- > From: Shawn H. Corey [mailto:shawnhco...@gmail.com] > Sent: Monday, August 24, 2009 11:57 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: Tony Esposito; Beginners Perl > Subject: Re: one liner in Windows to replace string > > Wagner, David --- Senior Programmer Analyst --- CFS wrote: > > I ran under windows with what Tony sent, both the cmd and a korn > > shell and both worked and updated as expected.. > > > > If you have any questions and/or problems, please > let me know. > > Thanks. > > What version of Windows? The last time I used Windows was XP and it
Windows XP with SP2. As stated, I run an old Korn shell from MKS and it worked there. But I also tried the cmd32.exe and it also worked there. So unsure why it is, but it does. Makes the copy, etc.. If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Freight Systems 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://fedex.com/us > would see single quotes as: > > perl -p -i.bak -e "'s/CONSTANT/VARIABLE/'" C:\test.txt > > which, of course, don't work. > > > -- > Just my 0.00000002 million dollars worth, > Shawn > > Programming is as much about organization and communication > as it is about coding. > > I like Perl; it's the only language where you can bless your > thingy. > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/