From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18635 invoked from network); 26 Aug 2023 18:15:29 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2023 18:15:29 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Sat Aug 26 14:02:48 -0400 2023 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 317623a9 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sat, 26 Aug 2023 11:02:47 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Sat, 26 Aug 2023 14:02:46 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: GPU ACPI over JSON strategy cloud Subject: Re: [9front] Re: sed: fix moving '^' match Reply-To: 9front@9front.org Precedence: bulk Quoth hiro <23hiro@gmail.com>: > the following stops working, which is WRONG. i.e. bsd is wrong, and > GNU is wrong. while Plan9 ed and sed is right as usual. > > echo abababacab | sed 's/^ab//g' can you explain why this should behave differently from: echo bacabababab | sed 's/ab$//g'