* [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1
@ 2014-08-05 20:58 Erwin Waterlander
2014-08-16 8:08 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Erwin Waterlander @ 2014-08-05 20:58 UTC (permalink / raw)
To: cygwin
CHANGES SINCE LAST RELEASE:
===========================
New upstream release.
* Bugfix: mac2unix conversion produced corrupted output
from UTF-16 input file.
* New options -b (keep BOM) and -r (remove BOM).
* New translation of the UI messages: Norwegian Bokmaal.
homepage: http://waterlan.home.xs4all.nl/dos2unix.html
license: 2-clause BSD (FreeBSD)
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1
2014-08-05 20:58 [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 Erwin Waterlander
@ 2014-08-16 8:08 ` Marco Atzeri
2014-08-16 13:27 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-08-16 8:08 UTC (permalink / raw)
To: cygwin
On 05/08/2014 22:33, Erwin Waterlander wrote:
> CHANGES SINCE LAST RELEASE:
> ===========================
>
>
> New upstream release.
> * Bugfix: mac2unix conversion produced corrupted output
> from UTF-16 input file.
> * New options -b (keep BOM) and -r (remove BOM).
> * New translation of the UI messages: Norwegian Bokmaal.
>
Hi Erwin,
the new man-db has problems with some man pages
as it takes only strict ".so" directive
$ man u2d
man: can't open /usr/share/man/dos2unix.1: No such file or directory
No manual entry for u2d
$ gzip -c -d /usr/share/man/man1/d2u.1.gz
.so dos2unix.1
and the pages are all "*1.gz"
replacing with ".so dos2unix.1.gz" seems to work.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1
2014-08-16 8:08 ` Marco Atzeri
@ 2014-08-16 13:27 ` Marco Atzeri
2014-08-16 15:45 ` [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-08-16 13:27 UTC (permalink / raw)
To: cygwin
On 16/08/2014 10:08, Marco Atzeri wrote:
> On 05/08/2014 22:33, Erwin Waterlander wrote:
>> CHANGES SINCE LAST RELEASE:
>> ===========================
>>
>>
>> New upstream release.
>> * Bugfix: mac2unix conversion produced corrupted output
>> from UTF-16 input file.
>> * New options -b (keep BOM) and -r (remove BOM).
>> * New translation of the UI messages: Norwegian Bokmaal.
>>
>
> Hi Erwin,
> the new man-db has problems with some man pages
> as it takes only strict ".so" directive
>
> $ man u2d
> man: can't open /usr/share/man/dos2unix.1: No such file or directory
> No manual entry for u2d
>
> $ gzip -c -d /usr/share/man/man1/d2u.1.gz
> .so dos2unix.1
>
> and the pages are all "*1.gz"
>
> replacing with ".so dos2unix.1.gz" seems to work.
>
> Regards
> Marco
it seems a man path search defect of man db
$ cd /
$ man u2d
man: can't open /usr/share/man/dos2unix.1: No such file or directory
No manual entry for u2d
but
$ cd /usr/share/man/man1/
$ man u2d
works.
As
$ gzip -cd u2d.1.gz
.so unix2dos.1
man-db is looking on the wrong directory, while for
$ gzip -cd zcat.1.gz
.so man1/gzip.1
$ man zcat
works fine everywhere
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation
2014-08-16 13:27 ` Marco Atzeri
@ 2014-08-16 15:45 ` Marco Atzeri
2014-08-17 18:12 ` waterlan
0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-08-16 15:45 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation
2014-08-16 15:45 ` [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation Marco Atzeri
@ 2014-08-17 18:12 ` waterlan
0 siblings, 0 replies; 5+ messages in thread
From: waterlan @ 2014-08-17 18:12 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-17 18:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 20:58 [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 Erwin Waterlander
2014-08-16 8:08 ` Marco Atzeri
2014-08-16 13:27 ` Marco Atzeri
2014-08-16 15:45 ` [ANNOUNCEMENT] Updated: dos2unix 6.0.6-1 & man-db limitation Marco Atzeri
2014-08-17 18:12 ` waterlan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).