From owner-freebsd-questions Wed Jun 6 8:34: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id B01DA37B401 for ; Wed, 6 Jun 2001 08:33:57 -0700 (PDT) (envelope-from lplist@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1003) id 6FB8C55407; Wed, 6 Jun 2001 08:22:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id 5E05251610; Wed, 6 Jun 2001 08:22:24 -0700 (PDT) Date: Wed, 6 Jun 2001 08:22:24 -0700 (PDT) From: Linh Pham To: Don Croyle Cc: James Housley , Damien Tougas , Laura Gioia , , G D McKee Subject: Re: ^M In-Reply-To: <86vgm9ekzh.fsf@emerson.gelemna.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001-06-06, Don Croyle scribbled: # If this is something you need to do frequently, # # perl -pi -e 's/\r//' filename (to remove the ^Ms) # perl -pi -e 's/\n/\r\n/' filename (to put them back) That or install the unix2dos ports under /usr/ports/converters/unix2dos Once installed, run 'dos2unix filename' to remove the '^M' or, run 'unix2dos filename' to re-add the '^M' -- Linh Pham [lplist@closedsrc.org] // 404b - Brain not found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message