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.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 31474 invoked from network); 26 Aug 2023 09:35:40 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2023 09:35:40 -0000 Received: from mail-oa1-f50.google.com ([209.85.160.50]) by 9front; Sat Aug 26 05:14:24 -0400 2023 Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-1c134602a55so339201fac.1 for <9front@9front.org>; Sat, 26 Aug 2023 02:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693041262; x=1693646062; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=45O8PFPx42bYIH23gPKMXDdElTa+7fQ2pIaiHMuGrFg=; b=fBhnjXESkvlTEVQNnvYo660v9uxpAv++mzBv9egH1TumXBQfO3l69ycN2bo0nzM+Rc a+EoVPQ2pQw3EIYWLQe9VW+OzA0H1Bpm28SNxIWft2OmPSRpCO8LhTAKpFqQA+nZWrqo vjWgGnICg3ky1jgNJvW8He/m0TNUldtO+MlvG5QsA7kuboDwzDrViKOlNgl1vLRG+Acy Cvccd1hc2qnVHb6yStRIeezAcTzKD4MMHScEfCm19tV1ey5EGuKc29zgla66V3PZGYZD 20C7wYVklkkpOjBmHXlqJvamwpcvU1aI+RVgfyTDAAo/AKCXC4yk8+7gSXiPEP5BBa8S KdQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693041262; x=1693646062; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=45O8PFPx42bYIH23gPKMXDdElTa+7fQ2pIaiHMuGrFg=; b=SPwATvjKR8jX/IHS3d80B/o6zKFUDWRKIaNdVY+h9hSJ1SjYNaLbYiKfeXSWkuhxEL fuvRD//c10IWar7ADnnw/5n78gkEWULRvhu1wABC0hYxq7BC9VRtb+z1wGDcReD/vcoE UgM/UHghQP2Y4IzZKJcusMMAwANEBAGDHSaFuEOWt0I9RrcyT7A9Ve1t1HG5MIWKeXG1 Rp7NIILcsjqXLK2UoyoMlrVNSL5f58K//Orl2pc8MEDkpWywHSKGX+WIvEW6JS8wRORS KKyZ7KBVAvZwl9qL9YVcXAtqEyfqkKUF8bCp54W2zAXpgGHBCpQB4CUIinalEPixs6Ge GPXQ== X-Gm-Message-State: AOJu0Yx9SDLjPPlJR6wpHxseHV75cFKnx1hEWSZPKiYCEqyZdfw91ymL 1dHNr5hb1zrVLQ8NIR3O3/7j0X0aIHkqA/dAwopcI2wEDXI= X-Google-Smtp-Source: AGHT+IE7c20Ma3nUHt2do0YuKWEOrH4Ol+7X5aLvgOEWwXir0f4NBNTCYAHJ1mH/wzGLbOcvbQPzJz2oKVmUT5AX0kk= X-Received: by 2002:a9d:468d:0:b0:6bd:9d65:fce with SMTP id z13-20020a9d468d000000b006bd9d650fcemr20835435ote.2.1693041262098; Sat, 26 Aug 2023 02:14:22 -0700 (PDT) MIME-Version: 1.0 References: <26E0B9AD31488853D40C701E19370A2D@eigenstate.org> In-Reply-To: From: hiro <23hiro@gmail.com> Date: Sat, 26 Aug 2023 11:14:09 +0200 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social ACPI content-driven general-purpose solution Subject: Re: [9front] Re: sed: fix moving '^' match Reply-To: 9front@9front.org Precedence: bulk > It looks like a reasonable change but I'd be hesitant to > make it. Ed(1) produces the same output and the behavior > appears to be unchanged since at least the 8th edition. thanks for checking the 8th edition also. i was wondering about this. > It's clearly a rare edge case and easily avoided by not using > the g flag when it's not necessary. I doubt it would break > anything, though. it's not just that it's not necessary. in ori's example it's conflicting commands opposing what ori is trying to achieve. but he's trying to achieve something that is trivial to achieve in regular ways without conflicts. meanwhile now you're trying to ADD CODE to remove a behavior that needn't HURT any valid usecase. 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' PLEASE stop with this move fast and break things