[FLAC 1.5.0-1] Man pages use HYPHEN character instead of HYPHEN-MINUS.

Vincent via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAAA95V9-WVQh5hbOvtZhCOBU8JpmfR98E+=aQyeOa+b1H2S_-Q@mail.gmail.com>
Hello Cygwin Team,

My request is related to an issue I opened in the FLAC Github :
https://github.com/xiph/flac/issues/861

After some investigations, the issue is related to the build release of the
FLAC package provided by Cygwin : the man pages of flac(1) and metaflac(1)
use the HYPHEN (U+2010 )  character instead of the HYPHEN-MINUS  (U+002D)
character.

These two commands expect HYPHEN-MINUS character, so if you copy-paste the
man page options in your terminal, it will fail.

Example : flac ‐‐version
will return an error : « can't open input file ‐‐version: No such file or
directory », because of  « ‐‐version » with HYPHEN copied-pasted from the
man pages.

The right string is « --version » with HYPHEN-MINUS (U+002D).

Example : flac --version
will return : « flac 1.5.0 »

Please, feel free to read the issue in Github (
https://github.com/xiph/flac/issues/861 ) for more details, as it's easier
to read code and quotes with the markdown formatting.

This is a very pretty nasty kind of bug, because it's very difficult to
distinguish HYPHEN-MINUS and HYPHEN in a terminal. It's also very difficult
to figure out why the command has failed, as the « No such file or
directory » is not the root cause of the problem.

I think a new build release to fix this, would be very welcome.

Thank you very much for your time and your great work. :)

Kind regards,

Vyncere.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.