From owner-freebsd-questions@FreeBSD.ORG Sun Apr 17 15:57:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A5871065679 for ; Sun, 17 Apr 2011 15:57:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 095DF8FC22 for ; Sun, 17 Apr 2011 15:57:31 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-56.dynamic.qsc.de [92.195.63.56]) by mx02.qsc.de (Postfix) with ESMTP id 6AA321E36B for ; Sun, 17 Apr 2011 17:57:30 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p3HFvTS9001576 for ; Sun, 17 Apr 2011 17:57:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 17 Apr 2011 17:57:29 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20110417175729.e5e2040e.freebsd@edvax.de> In-Reply-To: <20110417042545.GA70510@tinyCurrent> References: <20110416220236.GA14042@mail3.dcoder.net> <20110417002800.78dc8d62.freebsd@edvax.de> <20110417014758.GB14042@mail3.dcoder.net> <20110417042545.GA70510@tinyCurrent> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: double spacing in vim, vi, or cream X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 15:57:32 -0000 On Sun, 17 Apr 2011 06:25:45 +0200, Matthias Apitz wrote: > El d=EDa Saturday, April 16, 2011 a las 09:47:58PM -0400, david coder esc= ribi=F3: >=20 > > interesting suggestions that i hadn't thought of, esp knowing nothing a= bout > > LaTeX. the 1st, however, results in spaces between characters, whereas= what > > i wanted was double-spacing between lines in a piece to be submitted for > > publication. Okay, I see now. My mistake. :-) > At the end of editing the file: >=20 > :1,$s-$-^M- >=20 > (the ^M is to be done by holding down CTRL and pressing V and M) And if you want a postprocessing solution, use the command awk '{ printf("%s\n\n", $0); }' < single.txt > double.txt for "vertical double-spacing". --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...