Look for lines that start with a line feed (ctrl-J) and convert it to a carriage return (ctrl-M) followed by a line feed.
The following is a command line script to do it. It edits your file in place and renames the original version with a .bak extension.
perl -i.bak -pe 's/^\cJ/\cM\cJ/' your_file_name_here
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Clean line ends
by davorg
in thread Clean line ends
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |