Has anyone had experiences where they tried to execute a sed command on a single line feed file and it has not worked? Currently I have several files where the sed command will not work. The funny element here is that when I open the files make changes and close out without saving the changes made the sed command below afterward works. Any ideas.

sed 's/.\{80\}/&\
/g' file1 > file2


Regards
Milenko