HP3000-L Archives

June 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Thu, 26 Jun 2003 17:09:26 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
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 *

ATOM RSS1 RSS2