![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Delete stringsby ikegami (Patriarch) |
on Apr 10, 2009 at 08:13 UTC ( #756769=note: print w/replies, xml ) | Need Help?? |
You can't delete lines from a file. You can copy a file while doing modifications to what is copied. So after opening the two files,
As a one-liner:
or in-place:
Update: The above were for the Windows Command shell. Below are adaptations for bash:
or in-place:
In Section
Seekers of Perl Wisdom
|
|