I am trying to no avail to insert carriage return linefeeds into a text file on a windows machine. Here is what I am using:
perl -p -i.bak -e 's/[/\r\n[/g' f:\test.txt
I am hoping to modify the file test.txt and for each '[' in the file change them to <carriage return><linefeed>[
BUT it isn't working...... Any help is greatly appreciated!