News for hackers. Stuff that matters.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by kbenson on Thursday March 27, 2025 @05:27PM (#43498389)
Automatic conversions have been happening for a long time. In fact, a few years ago there was some combination of settings on my terminal locale settings and man (well, troff/groff most likely) was converting hyphens in param definitions to some sort of dash character, meaning I couldn't copy and paste out of the man page. I think it also affected perldoc for the same reason.

I don't doubt there are publishing platforms that do it automatically as well, so I wouldn't count on seeing them as an indicator of generated output, even if it may be processed in some manner.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by tedunangst on Thursday March 27, 2025 @05:30PM (#43498417)
This is because the original was written using the wrong markup. When the output was ascii, nobody noticed, but it matters when the output is unicode.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by o11c on Thursday March 27, 2025 @05:59PM (#43498672)
That's revisionism. It was considered correct historically, before someone decided to unilaterally declare all existing man pages "wrong".
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by tedunangst on Thursday March 27, 2025 @07:21PM (#43499403)
It's like we spent twenty years writing (mindlessly copying) web pages with &mdash and only viewing them with lynx, and then somebody makes a graphical browser and the mistake is apparent, but I don't think the browser is in the wrong.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by blueflow on Friday March 28, 2025 @06:52AM (#43503816)
Context: https://lists.debian.org/debian-devel/2023/10/msg00085.html

Money quote:

  This issue does indeed have a history of provoking unhinged lunacy.