From owner-freebsd-questions Sat Nov 3 21: 5:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id 412FB37B406 for ; Sat, 3 Nov 2001 21:05:25 -0800 (PST) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id fA455Nu56338; Sat, 3 Nov 2001 21:05:23 -0800 (PST) Date: Sat, 3 Nov 2001 21:05:23 -0800 (PST) From: David Kirchner X-X-Sender: To: David Loszewski Cc: Subject: RE: ^M on end of lines In-Reply-To: <000e01c164e9$4592a300$3000a8c0@sickness> Message-ID: <20011103210452.A44499-100000@localhost> 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 Sat, 3 Nov 2001, David Loszewski wrote: > So then how do I strip it of the '^M's then? Lol, this is the biggest > pain in the ass, and I'm not a complete newbie. If I do 'wget' I get the > same thing sometimes so I'm starting to think that there's something > wrong with the configs in the system. Ideas on where I should start > looking? > > Dave You can remove the ^M's from a file with: perl -pi -e 's/\cM//g' filename To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message