From nobody Sat Aug 19 10:17:12 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 4RSZRg0Mblz4qX88 for ; Sat, 19 Aug 2023 10:17:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 4RSZRd0W3nz3J8s for ; Sat, 19 Aug 2023 10:17:17 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=rfexwAbE; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::12f as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4ff9121fd29so2509667e87.3 for ; Sat, 19 Aug 2023 03:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692440235; x=1693045035; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Ci7JxyyUMegxXpKXqSpL4n6jACz0WjibIgxyXhxI/wk=; b=rfexwAbEVC7F46ZFa4HWpjHGLIe4kQ71bcc60Ixf+GCdEx2xfFHkXm3KsC/weHZz5e HwJ8cspQsai2rDRBYovHy6llCBHd/x8VE2qdlcBxRqPzQw4uMGC4LgTfdcTGFMjWqcqy tkR9MOfhP+jahB3jDS1yGOjeJshE+Fm7lDTtUpMjMkeBdB4hDlWf3LRI12FrMI6+bTWg QL5DCo2y0+GaeP4LDVF2t0rTuAeEI1A/PWYaj3VYiUekzw2lFkBPccSEmb/2p6OaMb0r xtBT4O71ym73Z4lFZeLXjPlz/n1DhaYPoNVJRdGzetuJq+bH62YDO0DosL/Uc4mbD2aT UtWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692440235; x=1693045035; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ci7JxyyUMegxXpKXqSpL4n6jACz0WjibIgxyXhxI/wk=; b=P3hh1uURcMaOvhZXbf+udNvE6+57Fs65ufFxMMKGFi+nP3gaBkiRrolWmBIQb+Zv2W KnkiWS4n9rusqtiKmDJ9oMpVMLonEocql7i0eo8M60vnVB288z2pqb4p1Ig9xnFbT1Px mqJ5501aFwz7d1JR4BGoax2k2RmJ0oZG0e2HUrjh8WHuRup7+GFCJfDXp4F/5hJcMAlK rPGPGLbp9po0gmrkBZidJG8FzBEWBj7MhZyA1cFN71n06aUW//y6IAk3/Bo1bSIYmOdd 2RKIkxkfYfwMhS4OGK2OwbkyuAYo5StCCaNc7COlZFMOUQfZBM0jr+VXP+1pPbKHJt25 i4fg== X-Gm-Message-State: AOJu0YyASUWL1I9/tRn7TvBz22EI64Q6s1Q4lvNcGBaLh2NqBOqEFmUv V33evj1K6eQ4VPnJ6mlLeqhdwHWeaUI= X-Google-Smtp-Source: AGHT+IHpxVR8I/9MnhhI0YtW1AU59sFIbaiBZGzyYe2B4ZYZnN3AArGNudTV4mBzt4ABq+3VC0c3VQ== X-Received: by 2002:a05:6512:32cf:b0:4fb:821e:2241 with SMTP id f15-20020a05651232cf00b004fb821e2241mr1154372lfg.23.1692440234491; Sat, 19 Aug 2023 03:17:14 -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 i21-20020aa7dd15000000b00523d5d9bf1bsm2295685edv.23.2023.08.19.03.17.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Aug 2023 03:17:13 -0700 (PDT) Message-ID: Date: Sat, 19 Aug 2023 11:17:12 +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 Content-Language: en-US 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> From: Graham Perrin Subject: glob, re_format(7) In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12f:from]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RSZRd0W3nz3J8s On 15/08/2023 20:40, Kurt Hackenberg wrote: > On Tue, Aug 15, 2023 at 07:46:13PM +0100, Graham Perrin wrote: > >> Is there a good manual page alternative to >> ? > > That Wikipedia article describes the library functions fnmatch() and > glob(), which both exist and have man pages in FreeBSD (manual section > 3).  The shells also document their filename matching, in their man > pages. Obscurely, via for gstat(8) I stumbled into:     re_format(7) Not what I was seeking, originally, however it does contain much of what I want. The online view (above) is somewhat difficult to read due to the peculiar appearance of ` characters, there's no such problem when the page is viewed in a console or terminal. I could/should have found re_format(7) via the SEE ALSO section of regex(3), but I didn't get that far down the page because I was turned off by the preceding sections :-)