From owner-freebsd-stable@FreeBSD.ORG Thu Jan 13 08:47:39 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD6DF106564A for ; Thu, 13 Jan 2011 08:47:39 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 745378FC14 for ; Thu, 13 Jan 2011 08:47:39 +0000 (UTC) Received: by wyf19 with SMTP id 19so1476960wyf.13 for ; Thu, 13 Jan 2011 00:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZFCrHhFzsNWyi3fD+NdxjrNj5o95OthGsDV9ELKyDWw=; b=GyvPhKMKeKgdg5LtnpKlmoYX6/whWxGdBtZ2TMfBLGc2u/NIPyX2Mng/fuSuy/mRyj otoB1uAsO2IrwoBMfy0uGxDa8GVll4+sMASTCt9fabzfBGBwP4oVJ+0mNVjf6WpK8gxr b9mRhpq+38xdIVAAagN4L7i8Z4M9wFiYDLnrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PbFoeQH0+S5WoQYdKXvxW78Uv2Cryozaf1LcAYTPukRBhJe0tWHV3GzEz5q610xHti GPwcqDr2ZiUBwXLd5sTFTEM+m+SFKY2Ir0kaDTKQRRFydZRXJ6ahXAr5Y1Tz0MaELgx/ H5GXwPBfw7wDD/PBinB4dxXj2zzO8bahm5cL4= MIME-Version: 1.0 Received: by 10.227.132.208 with SMTP id c16mr2061229wbt.72.1294908458272; Thu, 13 Jan 2011 00:47:38 -0800 (PST) Received: by 10.227.59.3 with HTTP; Thu, 13 Jan 2011 00:47:38 -0800 (PST) In-Reply-To: <20110112195746.GA16732@server.vk2pj.dyndns.org> References: <20110112195746.GA16732@server.vk2pj.dyndns.org> Date: Thu, 13 Jan 2011 09:47:38 +0100 Message-ID: From: Oliver Pinter To: Peter Jeremy Content-Type: text/plain; charset=ISO-8859-1 Cc: stable@freebsd.org Subject: Re: sed is broken under freebsd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 08:47:39 -0000 yeah, and the solution is was Clifton wrote, but double escaped new-line in tcsh On 1/12/11, Peter Jeremy wrote: > On 2011-Jan-12 02:32:52 +0100, Oliver Pinter wrote: >>The freebsd versions of sed contained a bug/regression, when \n char >>can i subsitue, gsed not affected with this bug: > > gsed contains non-standard extensions and you have been suckered into > using them. Try using 'gsed --posix' and/or setting POSIXLY_CORRECT. > This is part of the GNU/FSF "lockin" policy that encourages people > to use their non-standard extensions to ensure that you don't have > any choice other than to use their software. > > -- > Peter Jeremy >