Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
I need to replace the \lf characters with \cr\lf on the empty lines. Any ideas?SOME DATA\cr\lf \lf MORE DATA\ccr\lf \lf Yet more data\cr\lf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Clean line ends
by davorg (Chancellor) on Jan 19, 2007 at 10:14 UTC | |
|
Re: Clean line ends
by shmem (Chancellor) on Jan 19, 2007 at 10:24 UTC | |
by davorg (Chancellor) on Jan 19, 2007 at 10:39 UTC | |
by smithers (Friar) on Jan 19, 2007 at 19:04 UTC | |
by davorg (Chancellor) on Jan 19, 2007 at 20:35 UTC | |
by smithers (Friar) on Jan 20, 2007 at 15:58 UTC |