Greetings; Just for future reference, the Windows command line is not good for perl things. The use of quotes and escapes is mostly undocumented and from experience I can say that even when you think you have it figured out you will find another situation where it doesn't work. It only takes a few secs longer to create a file and run it. And that also saves you the problems associated with command line editing to fix your mistakes.
You can install CyqWin pretty quickly and it has a much better command line / shell than native windows. Good Luck! Dennis >}On Feb 12, 18:04, Booher Timothy B 1stLt AFRL/MNAC wrote: >} Subject: windows perl just doesn't seem to work > >Hello - I am very frustrated - after quite a while I can't get my ActivePerl >to work on anything in windows. Say I want to find the word Good and change >it to Bad in the file MyFile.asc > >I try: > >C:\changeIt.pl -e "s/Good/Bad/" MyFile.asc > >Then open MyFile.asc and nothing happens - then I try this: > ># this is a script to clean > >open(IN,"fileToClean.asc") || die "can't open!"; > >while(<IN>) { > s/Good/Bad/; > print; >} > >On the screen I can see that this is working, but when I open the file, >guess what? Nothing has changed! I tried a question on this same topic >awhile ago and everybody said that they got it to work in cgywin and unix >etc - I'll try again - can anybody figure out what I am doing wrong? > >Thanks, > >tim -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]