From owner-freebsd-questions@FreeBSD.ORG Tue Apr 18 13:40:02 2006 Return-Path: X-Original-To: questions@freebsd.org 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 6439216A400 for ; Tue, 18 Apr 2006 13:40:02 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60DC243D67 for ; Tue, 18 Apr 2006 13:39:56 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.5/8.12.11) with ESMTP id k3IDcsaF003407; Tue, 18 Apr 2006 08:38:54 -0500 (CDT) Message-Id: <6.0.0.22.2.20060418083557.02995b58@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 18 Apr 2006 08:38:45 -0500 To: Kyrre Nygard , questions@freebsd.org From: Derek Ragona In-Reply-To: <7.0.1.0.2.20060418150817.02110d10@broadpark.no> References: <7.0.1.0.2.20060418150817.02110d10@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Text files going double lined X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 13:40:02 -0000 Usually this is a result of the wrong end-of-line characters being used, depending on what the output device expects. In UNIX, end-of-line is just a line-feed, in MS-DOS/Windows end-of-line is a carriage-return line-feed pair. You may need to change the end-of-line characters to suit your needs and output device. -Derek At 08:10 AM 4/18/2006, Kyrre Nygard wrote: >Hello, > >Does anybody know why text files sometime go double lined? >That is, there somehow getting one empty line in between every line. > >I work with a lot of people across many platforms and I find it very annoying >when large pieces of code or language gets doubled up like that. > >Would anyone happen to know how to then: > >1) Reduce all empty single lines to no lines >2) Reduce all empty double lines to a single line > >To restore things? > >Thanks, >Kyrre > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"