Date: Tue, 3 Dec 2002 15:54:11 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Lee J Carmichael <lcarmich@wamnet.com> Cc: Thomas von Hassel <thomas@vermoe.dk>, freebsd-questions@FreeBSD.ORG Subject: Re: tool/method to convert DOS line endings to UNIX line endings Message-ID: <Pine.BSF.4.21.0212031550360.12062-100000@wonkity.com> In-Reply-To: <Pine.SGI.3.96.1021203155019.243744X-100000@y.dev.wamnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Dec 2002, Lee J Carmichael wrote: > If you are going from DOS to Unix you could use the following perl script: [script snipped] It's a bit easier if you let Perl do the heavy lifting: perl -pi -e 's/\r//g' file-to-convert -Warren Block * Rapid City, South Dakota USA 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?Pine.BSF.4.21.0212031550360.12062-100000>