Problems? Is your data what you think it is? | |
PerlMonks |
Re: Replace strings in text fileby pwagyi (Monk) |
on Sep 24, 2018 at 03:22 UTC ( [id://1222902]=note: print w/replies, xml ) | Need Help?? |
What are you trying to accomplish here? Have you read man page of sed ?
Since you are already using perl, why not just use perl to perform substitution (a lot of monks had already given out code) instead of *nix sed, then your code will be portable (across other OSes, like windows).
In Section
Seekers of Perl Wisdom
|
|