Date: Sat, 7 Sep 2002 23:23:37 -0500 (CDT) From: hawkeyd@visi.com (D J Hawkey Jr) To: freebsd-questions@freebsd.org Subject: Re: Port to Remove ^M Message-ID: <200209080423.g884Nbk37627@sheol.localdomain> In-Reply-To: <20020829225151.GA23166_carbon.slackerbsd.org@ns.sol.net> References: <F59D56D98019A24391D6396DD708C821010DAC5B_MLVV9MBE.usmlvv1p0a.smshsc.net@ns.sol.net> <20020829225151.GA23166_carbon.slackerbsd.org@ns.sol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <input >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209080423.g884Nbk37627>