Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Strip line feeds from fileby thelenm (Vicar) |
on Jun 09, 2003 at 20:14 UTC ( [id://264447]=note: print w/replies, xml ) | Need Help?? |
Something like this might be what you're looking for:
This will strip all the carriage returns and linefeeds and then overwrite the original file. A backup file will be created with a .bak extension, just in case. -- Mike --
In Section
Seekers of Perl Wisdom
|
|