This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]