On 02/08/12 13:50, David Lyon wrote: > Anyway, the document is full of mixed <cr> and <cr+lf> data. > I need to preserve the 'delicate' mix and edit the file.
You poor bastard. I'm assuming the CRs are the mainframe doing overprinting to get bold text, and the CR LF is for new lines. Emacs will do this, as it treats the CRs as data. If it auto-detects "DOS" format then just turn off DOS mode. In the worst case it has a hex editting mode. vim has a "binary" mode that looks the goods too. Again you might need to disable DOS mode before editing and saving. -- Glen Turner www.gdt.id.au/~gdt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html