From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105862 invoked by alias); 19 Sep 2018 11:50:33 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 104982 invoked by uid 89); 19 Sep 2018 11:50:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=culprit, H*UA:10.0, SYSTEM, ld_library_path X-HELO: mail-it0-f50.google.com Received: from mail-it0-f50.google.com (HELO mail-it0-f50.google.com) (209.85.214.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Sep 2018 11:50:31 +0000 Received: by mail-it0-f50.google.com with SMTP id h23-v6so7278424ita.5 for ; Wed, 19 Sep 2018 04:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4Qcm7JoB7Aq/oz7CA78bukw3x7+iJxtgdqivMmdFkOI=; b=P8Ip23BvmlOPOoM3TTkrB2K/rMzb/cwLwOmChb4OxKKlgjdtYLbPD5X/SyfhaIDigY vEjpRN1hCgf41dL4bWb7tCLNJgFzkVVujAl621J/fvDrKhybf95KLo4/4lmlKZWJlCkM 7dY1tw17WdRhKAixQnDzwv3FeEfcf/lIZ0ZOq8szpIHJhOpUGryzRatYDjM+6vBo76FF Rl4MOQSHlH+zTHP186lYU+6of5ollhZIs+laksblPywFhaTKfv0RvTzl5iJT4xT4/WNq /gFB0ch4XawityO6UYHLzsnvIiQDsVjKcv7cUx8ULEV7lTbR0qIb1L0FvGFAe0VkX/+y +XLQ== Return-Path: Received: from [192.168.0.3] (d47-69-109-131.nap.wideopenwest.com. [69.47.131.109]) by smtp.gmail.com with ESMTPSA id u24-v6sm7094577iol.49.2018.09.19.04.50.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 04:50:28 -0700 (PDT) Subject: Re: regex man-page confusion To: cygwin-apps@cygwin.com References: <1d6c60a3-5217-01d8-b7ec-781a9e822d93@gmail.com> <1070999d-0b19-9ec8-107a-83edc2c7d746@gmail.com> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <86910f1f-6d8f-d61b-6b82-eacdb25fe7f5@gmail.com> Date: Wed, 19 Sep 2018 11:50:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00011.txt.bz2 On 9/19/2018 3:12 AM, Thomas Wolff wrote: > Am 17.09.2018 um 14:49 schrieb cyg Simple: >> On 9/16/2018 5:52 PM, Thomas Wolff wrote: >>> Thanks; on the system with both packages not installed, man -w regcomp >>> says nothing (rather than "No manual entry..."); >>> `manpath` reveals /usr/share/man:/cygdrive/c/Windows/SUA/usr/share/man >>> and in fact, the man page displayed comes from my SUA installation. But >>> $MANPATH is empty, so what makes cygwin `man` access the SUA man >>> pages??? >>> >> As per [1] you need to check your /etc/man_db.conf file. > I hadn't mentioned that but I had checked it, grep -i sua only found > "usually". > > Found the culprit meanwhile: /cygdrive/c/Windows/SUA/usr/lib was in my > PATH. If I remove it, the SUA man page is not displayed anymore. > So the more specific question: What makes cygwin 'man' check the PATH > (not the LD_LIBRARY_PATH) to find which library and - still - why does > that lead it to SUA man pages??? Maybe in the mandb? Or maybe a ~/.manpath file? Or maybe an alias with -M, --manpath specified? Or a SYSTEM environment variable specified? It's complex and something cached the discovered manuals on PATH. Maybe use of -W and -w can help you determine. -- cyg Simple