From nobody Tue Aug 29 17:29:10 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZvYW5zPVz4s1ps for ; Tue, 29 Aug 2023 17:29:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZvYW1Wjwz4Fxg for ; Tue, 29 Aug 2023 17:29:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Y1GIWdc7; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::131 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-500913779f5so7468703e87.2 for ; Tue, 29 Aug 2023 10:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693330156; x=1693934956; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=UC6qJs9mPNbYELhU7z/1uSxDaR7AyazEnX/MDNY9dYY=; b=Y1GIWdc7XzRYnHNWdgx8wAVgHFsg8s32u1x5CcqHk+25NNKfh7ZnO1nncP0za0kqVl u52PS3pm8+Zh5vhtiCN6+41Y+vJ7l7PeBZICzgFATMMSKTsAoj0xp68KWcTPrETI4MMZ eslTqPqWr/pBrE/CzTswEBaa6z8AqyDIh5wcuOf8/i4bVIDio3ojcqbcgn23bfDcM7Oq 1mpKbz6NQ4GXYTF7CgJZAAeJRuRP58fSHbCwVkLBqrfVg1vJ5b5AbmSm3OAS08BxHTqO RE+91kqrgnpAja4A/t7AbnAZ6YzgSsA67vt73ZSTTYkwSNYzFEIW5MzYB+uxolIi7W09 KFCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693330156; x=1693934956; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=UC6qJs9mPNbYELhU7z/1uSxDaR7AyazEnX/MDNY9dYY=; b=Hx2p0ErgxBMngCS+F1jSGyM9dODcpLvOZWMe9ynazOkBOwnYSMwRGUbMU9+DOBnDva VzprENkpXxWF4/OsyJ9uBmZwxD8vzm2j5HT46fw5bM1fDcxitk4V5uekyZThAPQacrwa POKX+z4AAFs91F6Olgn/si/6CvQwnf675xei+H5MToYrr7f/GTnw244ZNIrOsXyeWn6c svSqFwiyG/He3WTc+hwaYGM3iEpwHZGycqpK4nEYgmbfemzUYtJTLLCQrSkpMFq03629 xWWeu/7fB0odslBLOul2A0zXYrOMzryV40qS2YZ4qGZJHUBPWaORrWpG75SGa5yewxXP klwg== X-Gm-Message-State: AOJu0YwlmHrukROZar5u6xBZ12Z+9IvxI1TZQ7A4ZcSAN8dpRC5lzJDF izyLyQBAyET+lVjNW9ow+uNS+H7t4+Y= X-Google-Smtp-Source: AGHT+IHWfw/C+FMECykNOzL33dGxWtfuKtE+PTMfsPhfjUDyoB8VkIiVZRpj/s9/C0GUuVhGAi9rwQ== X-Received: by 2002:a05:6512:704:b0:500:8fe8:7e80 with SMTP id b4-20020a056512070400b005008fe87e80mr13672970lfs.26.1693330156142; Tue, 29 Aug 2023 10:29:16 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id q9-20020a170906940900b0099bccb03eadsm6124509ejx.205.2023.08.29.10.29.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Aug 2023 10:29:15 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------CXFvmY9WbwdNxAzVfTgyN0ro" Message-ID: Date: Tue, 29 Aug 2023 18:29:10 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: glob, re_format(7) To: questions@freebsd.org References: <88d40ec4-1b5a-4d5e-b6f7-618a3b31fdbb@gmail.com> <835b25ff-81a5-6c18-f335-e8141c8da81a@gmail.com> <8987c03b-8630-48e2-a303-6bbd9ff1900f@FreeBSD.org> <940473ca-2052-a490-c4e0-56785b5de839@gmail.com> <861qfm2jd8.fsf@ltc.des.no> Content-Language: en-US From: Graham Perrin In-Reply-To: <861qfm2jd8.fsf@ltc.des.no> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.985]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[80.42.66.93:server fail,2a00:1450:4864:20::131:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::131:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZvYW1Wjwz4Fxg This is a multi-part message in MIME format. --------------CXFvmY9WbwdNxAzVfTgyN0ro Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 29/08/2023 12:11, Dag-Erling Smørgrav wrote: > Graham Perrin writes: >> re_format(7) [...] Not what I was seeking, originally, however it >> does contain much of what I want. > No. Globs are not regular expressions. See the “Shell Patterns” > section in sh(1). > > DES I understand the difference, thanks, but truly: re_format(7) does contain much of what I want/need (not limited to globs). --------------CXFvmY9WbwdNxAzVfTgyN0ro Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 29/08/2023 12:11, Dag-Erling Smørgrav wrote:

Graham Perrin <grahamperrin@gmail.com> writes:
re_format(7) [...]  Not what I was seeking, originally, however it
does contain much of what I want.
No.  Globs are not regular expressions.  See the “Shell Patterns”
section in sh(1).

DES
I understand the difference, thanks, but truly: re_format(7) does contain much of what I want/need (not limited to globs).
--------------CXFvmY9WbwdNxAzVfTgyN0ro--