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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Thu, 26 Jun 2003 12:02:33 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
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 *

ATOM RSS1 RSS2