This simply replace "<CR><LF>" (DOS end of lines) with "<LF>" (Unix end of line)while (<MYFILE>) { s/\r\n$/\n/g; ... }
In reply to Re^5: Matching string, then getting next line
by wazoox
in thread Matching string, then getting next line
by minixman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |