From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 01:16:04 2010 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 BD8C2106566B for ; Thu, 28 Oct 2010 01:16:04 +0000 (UTC) (envelope-from liontaur@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE6E8FC08 for ; Thu, 28 Oct 2010 01:16:03 +0000 (UTC) Received: by bwz3 with SMTP id 3so1170044bwz.13 for ; Wed, 27 Oct 2010 18:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=cfANhvMW4KfuqnD6Dp8yMeukzaFu87VzE5P1eyw0stE=; b=ZJa1ULauf4/ZRVNTy6H99jJpTRsIGpzaumbeydemU3FLVJSLipiEqBbFYpa10bpQZc AgfGPSw5naE+Tcx0GinXrOvhDI++BmGL/eKJnpm4hGGXR9MAoInH+Wv+5qWtqpAtoTJx 2sVyv55765GfOUH395vllyorj434Uetj2ga2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=eUR8OIn9CJComDGHUrOoyDIpBXyCyahgscMYe3zuAP/Yr3IGa+UCXVF04XDhHyFN+4 W3Hddgm3yGcvLlANWuYI3tJZMTTP2tyk2pQp69ix28B2Jg7221xAipoUR4fErwIvgHrt fn2cGkhNE9CoQx4NhbaiMl0g6ttcf4zxjzirM= MIME-Version: 1.0 Received: by 10.204.73.13 with SMTP id o13mr7779706bkj.173.1288228563152; Wed, 27 Oct 2010 18:16:03 -0700 (PDT) Received: by 10.204.4.196 with HTTP; Wed, 27 Oct 2010 18:16:03 -0700 (PDT) In-Reply-To: <20101028010447.GA9734@thought.org> References: <20101028010447.GA9734@thought.org> Date: Wed, 27 Oct 2010 18:16:03 -0700 Message-ID: From: Liontaur Cc: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: okay, time to ask the wizards. 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: Thu, 28 Oct 2010 01:16:04 -0000 On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline wrote: > I've got a very large file with paragraphs separated only by "\n". > How do I put a blank line _after_ each newline? > > Perhaps using sed? i'm definitely no sed expert but the substitute command would work, just substitute one \n with two? Mark