From owner-freebsd-questions Sat Sep 7 21:23:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42B4537B400 for ; Sat, 7 Sep 2002 21:23:40 -0700 (PDT) Received: from bran.mc.mpls.visi.com (bran.mc.mpls.visi.com [208.42.156.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9DDB43E72 for ; Sat, 7 Sep 2002 21:23:39 -0700 (PDT) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by bran.mc.mpls.visi.com (Postfix) with ESMTP id 1FF3D4AB2 for ; Sat, 7 Sep 2002 23:23:39 -0500 (CDT) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id g884Nbk37627; Sat, 7 Sep 2002 23:23:37 -0500 (CDT) (envelope-from hawkeyd) Date: Sat, 7 Sep 2002 23:23:37 -0500 (CDT) Message-Id: <200209080423.g884Nbk37627@sheol.localdomain> Mime-Version: 1.0 X-Newsreader: knews 1.0c.0 Reply-To: hawkeyd@visi.com Organization: if (!FIFO) if (!LIFO) break; References: <20020829225151.GA23166_carbon.slackerbsd.org@ns.sol.net> In-Reply-To: <20020829225151.GA23166_carbon.slackerbsd.org@ns.sol.net> From: hawkeyd@visi.com (D J Hawkey Jr) Subject: Re: Port to Remove ^M X-Original-Newsgroups: sol.lists.freebsd.newbies,sol.lists.freebsd.questions To: freebsd-questions@freebsd.org 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 In article <20020829225151.GA23166_carbon.slackerbsd.org@ns.sol.net>, carl@slackerbsd.org writes: > On Thu, Aug 29, 2002 at 06:07:28PM -0400, Warner Joseph wrote: >> >> Can anyone tell me real quick the name of >> the port used to remove the ^M from files >> that have been copied over from Windows? > > /usr/ports/converters/unix2dos (installs dos2unix as well) Don't need anything more than what you already have: sed -e "s/[[:cntrl:]]$//g" output Dave -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message