delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/07/05/13:18:04

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 665HI3PR2412642
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 665HI3PR2412642
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=KkxVjSHd
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F22844BA2E11
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1783271882;
bh=jK1lEEoOl/z2If+m1wOxYNFc2GGuJLRK6GZFW+nJ6SA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=KkxVjSHdI1uNRWl3tS30sIY/6IP5f6ctq3+qtVbCCnESrORjdUKF3NUs157orN5Mo
nZsBq0ePQovvNMO833dahwFDcaJyQO3wEnDmq1sEHKDKKVCbV4EuU0sfFByTX+5QxE
2DnoadDhVBdpS+O2xqZYyrzhbKOGhTSvPawmCWf8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 43CFD4BA2E19
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 43CFD4BA2E19
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783271864; cv=none;
b=SR8K6CDzrdQjabKBqAbPy+je/+okhBOrNw9KOutinFXDHGuIazEHj4gvK50LLqNlaFbeJEf3GtHPyRLJgMUp5nFdNeZu/sM++DNfvyVIjq/1dtnd58W7tO9dcR+petkiWfwPFjbzqAszYZ4CM1Dq9T1fmNBFO5UZF+5vFNPjVew=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1783271864; c=relaxed/simple;
bh=/MbfX/lesxHcWG3b8VFNvuunZWqB7Y+yEQiRYrdoC/I=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=ujHPsqGBCEeCvXwVG2fHRTSAy1xLKCkzAQWu04Ucymena22QkCINXphDA74LI3552Mbcry+DqKLtqLyYfphuehaf+nWeBRnoEjtkr7TZjxy4yWB8IAV1FyMLNlxjhfVhmisedzcJ/MQJuLT/zEzjXMl5huUy/SBh7LXndpUjh1I=
ARC-Authentication-Results: i=1; sourceware.org;
dkim=pass (2048-bit key, unprotected)
header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104
header.b=DQJYsgV/
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43CFD4BA2E19
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1783271863; x=1783876663;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=R758SedRUTCVT7vsChIAGF+e2VAnMEq4btBUGkMEOXI=;
b=JQKsAVd0i+YD+YWL7k90hevopsAys3fSLPYJSIBShvCwaLq+fSjWI5dC5yIdEkMvH+
kLmBwceyy/XriPEDvoT5+q6pGHG2PAX4vxqgqOMZca9gdBFtQgwXys9x35dA624Ujfyh
VGze4fyX6AJS5Md1wvBPLgXh+RoFcItKTSaoOx/uLaiejiNHjP5bbzUUsOx/5KoX7T7J
0rlv3UcnLdEszSrCQnj8Gpc4qQJmN5i7sSRL4j7/0rBlr7fznZoIveAs/OqFJGRmsC4b
jewAinWKRS8xdGLe4C7B5x7B5fKLxOW7Q5CmxnKWKBK22wdK3X8Uz39RPxTwmtWjdsyz
kJWg==
X-Gm-Message-State: AOJu0Yx76IZNkfabJKyV47cslp6ui0lhZIr1QmKAfymsZhXSDuqsR5+d
eC//x2ueW6AhghyHhqrK435Vxq2G2fqCb/84AYbaijDIEVTziqVeKFK8lPJcYg==
X-Gm-Gg: AfdE7cnGaoJbGGjD0bGNi8N+ZrntybYizLJU3Fm3hhRaFuYfE8gNkNBU8KsRxgAUxLh
rrUCERco/qkcoQy51efpDX2sALYBIij+fpxz5tmmUUTBIqPf9que9qk46v/gzpmtjv48TQK25nl
E3SjQ0Hu8cHK4ORoNGsdchbfF/5mcvpVuE1ZkpfjFCBfs4D9DCfkBNNq2dpmXUJ7xfNUG0uAHYv
aUorzY3FbhhgvXID/5K1DSFlOEd93m3Cg2KRVmK0Tvp3N9Lee9zRCxtL3vW0sMUctHiIk0ijXuI
IUZNsin8JNWMi7+W2s9GuD8kDDo8x0BuiRFfE3lig2Dv1g+6c6PwrE5X/AAoTf3MnfF4ymWdWNM
Evt44jyyDGHy5XsJn+LyAmJtTAohrXYt8+nFbUv63KSc+XDYkT5yvtuiuP4c7OFhh6LckQRXArh
Y3eWRcowMHsP1l/75LKZhBE0KoEP+8+FH/SWuEhsqsu2xsfvGhgo/h/luVMYcpN4AVYaPT
X-Received: by 2002:a05:600c:548f:b0:493:a7fd:15d6 with SMTP id
5b1f17b1804b1-493d11d9557mr87307155e9.9.1783271863091;
Sun, 05 Jul 2026 10:17:43 -0700 (PDT)
Message-ID: <ba0555d1-28d9-49d2-84d5-819c884d938c@gmail.com>
Date: Sun, 5 Jul 2026 19:17:41 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Issue with Bash RegEx Handling
To: cygwin AT cygwin DOT com
References: <CAAHpriM5RTAAfyYA3k=is38VthSYfxCR5X7_1dg04M1f+Tx+1g AT mail DOT gmail DOT com>
In-Reply-To: <CAAHpriM5RTAAfyYA3k=is38VthSYfxCR5X7_1dg04M1f+Tx+1g@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Hans-Bernhard_Br=C3=B6ker_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Hans-Bernhard_Br=C3=B6ker?= <hbbroeker AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 665HI3PR2412642

Am 05.07.2026 um 05:18 schrieb Keith Thompson via Cygwin:
>>> Firstly, why is =~ completely undocumented in the bash man page?  This
>>> question was my first encounter with the feature.
>> ·
>> Because it's not --- not undocumented, that is.  Manpage search can't
>> seem to find it, but it _is_ there.
>> ·
>> Just search for '==' instead, then go one paragraph down.
> Searches in man pages are controlled by your pager ($PAGER or
> $MANPAGER).  Your pager might be treating the ~ character specially.
> Try searching for \~= .

It doesn't appear to be the pager --- it's groff translating the ~ to 
some other character.  One which I don't know how to type into the 
search pattern.

What does help for me is overriding the language spec:

     $ LC_ALL=C man bash

and, voila, / finds =~ just fine.

And FWIW, 'info bash' doesn't have that problem, either.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026