Welcome to the Monastery | |
PerlMonks |
Re: modifying a string in placeby Roy Johnson (Monsignor) |
on Jan 19, 2006 at 18:15 UTC ( [id://524308]=note: print w/replies, xml ) | Need Help?? |
or just perl -pe 's/([^^#])/$1$1/g if ($. > 4)' file > newfile Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|