From owner-freebsd-questions@freebsd.org Wed Aug 26 17:43:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF5C23B5ADA for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcCrk5DDSz4P36 for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 92897227B5 for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f174.google.com with SMTP id z3so2756060qkz.7 for ; Wed, 26 Aug 2020 10:43:34 -0700 (PDT) X-Gm-Message-State: AOAM530UNMahEFyYO5fk9b+pd/pLf+q5mof13smpP3l7RO+gTNMlkvZw vS1D0Yc5vtm7//VNAXoV+jNe6Ga0NeTwkcCrWdM= X-Google-Smtp-Source: ABdhPJwsDUQ3RQXmw88yg82x1rVkrYRJ5qyYXgoBre7v+t49YdOiDaRAYODE6HpmXi8RslsaK7IfyH3dzCYigUFN8F0= X-Received: by 2002:a37:b347:: with SMTP id c68mr15036886qkf.430.1598463814139; Wed, 26 Aug 2020 10:43:34 -0700 (PDT) MIME-Version: 1.0 References: <20200826094948.333c67b0.freebsd@edvax.de> In-Reply-To: <20200826094948.333c67b0.freebsd@edvax.de> From: Kyle Evans Date: Wed, 26 Aug 2020 12:43:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: diff is a little diff -- erent To: Polytropon Cc: Doug Denault , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 17:43:34 -0000 On Wed, Aug 26, 2020 at 2:50 AM Polytropon wrote: > > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > > I do wonder why. Who is going to go to the effort to build/install "base" > > commands as various options are removed/changed? I can't wait to see what > > happens to cp, grep, find, and awk. > > If I remember correctly, grep already is BSD grep (with GNU grep > being available via ports collection), and the same for awk (and > gawk respectively). In most cases, the base commands implement > the set of standard features, while the GNU commands have certain > GNU extensions added which the standard does not require or even > specify. This, and the licensing terms (BDSL / GPL) that apply. > Ah, slight correction- it's only BSD grep for those of us who build from source and have extremely good taste. :-) Tentatively, it will be BSD grep for all in FreeBSD13 and will also have the sensible GNU regex extensions that generally bring BREs/EREs closer together in functionality and add some extra niceties like \b and \B (word boundary/not word boundary). Thanks, Kyle Evans