Try using PFE (Programmer's File Editor) which understands Unix format
files.
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005
Ken Hirsch wrote:
> Tom Emerson wrote:
>
>> tr \r \n <file1 >file2
>
> That will cause everything to be double-spaced, because "\r\n" will be
> changed to "\n\n".
>
> The easiest thing to do is:
> xargs <filelist perl -i.bak -pe 's/\r\n/\n/'
> Which will change all files in place and keep a backup (with the .bak
> extension).
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *