From owner-freebsd-questions Tue Dec 3 16:49:21 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 F369B37B401 for ; Tue, 3 Dec 2002 16:49:20 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id A76DF43E88 for ; Tue, 3 Dec 2002 16:49:16 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.lan.honeypot.net (mail@pooh.honeypot.net [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id gB40n1jm021431 for ; Tue, 3 Dec 2002 18:49:01 -0600 (CST) (envelope-from kirk@strauser.com) Received: from kirk by pooh.lan.honeypot.net with local (Exim 3.36 #1 (Debian)) id 18JNin-0006dm-00 for ; Tue, 03 Dec 2002 18:49:01 -0600 To: freebsd-questions@freebsd.org Subject: Re: tool/method to convert DOS line endings to UNIX line endings References: From: Kirk Strauser Date: 03 Dec 2002 18:49:01 -0600 In-Reply-To: Message-ID: <874r9uwqv6.fsf@pooh.lan.honeypot.net> Lines: 16 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 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 At 2002-12-03T21:53:29Z, Lee J Carmichael writes: > while() { > chomp; > print OUT "\n"; > } Wouldn't that print only an EOL? Shouldn't that be: print OUT "$_\n"; or similar? -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message