delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/16/11:45:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=chKdsPczwQf4k8t8IRyryDvrIMsLrWHeswaWsLpLBF5
Y5fqtku6AoJ95rX3LuophQgbIb7O5P2mUzqFRZagDMBYNNEz4FLJx+96+znu9uc0
cpe/TqstY8I4TJ2NrWwfrbM8AtKl8AuiW6wasxNBptvQULDHCE8r1PQCVTkouWsc
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=+YhdzSFFuV/20Sv3EpAy4XeQvt0=; b=OSL1GVQ0mPROEu0dY
p0yuW55B/05XNxQFDTX84VQoSJIdiwfBDg+YYNDjaapqrn08jaxPnHTjlTvmQ+mW
0ngGxEsDSCmyCCVQHZX2PtFl1jMx89chbgWfSizCifqLK2uD0j/yJOvG4CalPAd2
RE5p3dSJhKVaJnNO8WdZJewwJw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f52.google.com
X-Received: by 10.152.43.6 with SMTP id s6mr18855999lal.65.1408203900148; Sat, 16 Aug 2014 08:45:00 -0700 (PDT)
Message-ID: <53EF7C62.9010002@gmail.com>
Date: Sat, 16 Aug 2014 17:44:34 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation
References: <announce DOT 53E13FA7 DOT 9000604 AT xs4all DOT nl> <53EF1162 DOT 10900 AT gmail DOT com> <53EF5C1E DOT 105 AT gmail DOT com>
In-Reply-To: <53EF5C1E.105@gmail.com>
X-IsSubscribed: yes

On 16/08/2014 15:26, Marco Atzeri wrote:
>

3rd and final (I hope),
the reason way only u2d man page has problem

mandb: warning: /usr/share/man/man1/u2d.1.gz: bad symlink or ROFF `.so' 
request

it is because it has a double redirection while
all the other pages have a single ".so" redirection


d2u.1.gz         .so dos2unix.1
mac2unix.1.gz    .so dos2unix.1
u2d.1.gz         .so unix2dos.1
unix2dos.1.gz    .so dos2unix.1
unix2mac.1.gz    .so dos2unix.1

u2d.1.gz         .so unix2dos.1
  -> unix2dos.1.gz    .so dos2unix.1
    -> dos2unix.1.gz   the_real_page

$ ls -l *unix*
-rw-r--r-- 1 marco None 7143 Aug  5 00:31 dos2unix.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 mac2unix.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 unix2dos.1.gz
-rw-r--r-- 1 marco None   46 Aug  5 00:31 unix2mac.1.gz


So it is a limitation of man-db but the workaround is very simple

$ cp d2u.1.gz u2d.1.gz

Regards
Marco





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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019