X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail.bitmessage.ch (mail.bitmessage.ch [146.228.112.252]) by lists.alpinelinux.org (Postfix) with ESMTP id 59A2A5C4E2C for ; Fri, 2 Feb 2018 19:44:19 +0000 (GMT) dkim-signature: v=1; a=rsa-sha256; d=bitmessage.ch; s=mail; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References; bh=tGsxlWzOWD3r6ATdgTkY5+HYvlioTGpSmY5hkoh9e4o=; b=sb2Oo070F5bmHKbZ643DIk8jZFF/7Na1b17RIatX0emvOEweruZeMEqk8GJu3/v1/B7rAJSWB4OulEDcaLRovMgx1u3NcKWqS14MBtumPg6cqmTUXgbBExkfM2RWoyKnm9MpEDnsfgSTnSuoWxQW26A2zcyvuBKdkmH2E3amMGU= Received: from alpine.my.domain (ip.178-70-242-231.avangarddsl.ru [178.70.242.231]) by mail.bitmessage.ch with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256) ; Fri, 2 Feb 2018 20:43:11 +0100 Date: Fri, 02 Feb 2018 19:43:56 +0000 From: =?utf-8?B?Q8OhZw==?= To: alpine-user@lists.alpinelinux.org Subject: Re: [alpine-user] can't open a specific manual if there are multiple almost identical fnames Message-ID: <20180202194356.RYdi8%ca6c@bitmessage.ch> References: <20180202152229.GA36666@e460.lan> In-Reply-To: <20180202152229.GA36666@e460.lan> Mail-Followup-To: alpine-user@lists.alpinelinux.org, =?utf-8?B?Q8OhZw==?= User-Agent: mail v14.9.6 X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Svyatoslav Mishyn wrote: > just noticed by accident that cannot open in Alpine Linux some > manuals e.g. scandir(3). > Then checked mandocdb that scandir(3) is there (also why are there > double slashes?). > /home/juef: sudo /usr/sbin/makewhatis -D -a -T utf8 /usr/share/man > 2>&1 | grep scandir > /usr/share/man//man3/scandir.3.gz: Adding to database > /usr/share/man//man3/scandir.3p: Adding to database > Should mandoc handle such case? Probably yes. man-db has the "-e" option for "extension". Anyway, if you need a specific manual page you can use "mandoc -l /usr/share/man/man3/scandir.3.gz". > Or should 'man-pages' package be fixed [...] > now, `man n scandir`, opens /usr/share/man/mann/scandir.3.gz > So, doesn't mandoc look at the file extention to determine its > section? I made a man3p directory in /usr/share/man, then put scandir.3p there, now "man scandir" opens the Linux manual page, "man 3p scandir" opens the alphasort(3p) manual page. The project itself becomes a mess on Alpine. You have manuals for POSIX commands, and may suppose that they are for Busybox commands, that occasionally don't comply with POSIX; unfortunately Busybox doesn't have its own man pages. You have manuals for glibc functions that are absent in musl. So, for stuff like kernel headers and system calls I'm all for having a package. > +++ Is there a possibility in apk to make a local search > by the file names for all packages including not installed? > Similar what web-interface[3] can do or CRUX's prt-get[4]. Currently you can't search or view contents of an uninstalled package. This is a nice feature to have though. -- ca=C3=B3c --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---