Marco Atzeri schreef op 2014-08-16 17:44:
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
Hi Marco,
Thanks for the report. In the next release I link u2d.1.gz directly to
dos2unix.1.gz.
On Linux the d2u and u2d links are not installed. This is only done on
Cygwin, because the previous dos2unix implementation (part of cygutils)
used to have these commands.
regards,
--
Erwin Waterlander
http://waterlan.home.xs4all.nl/
--
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