Thanks, you're right. The unicode characters are introduced in the
Markdown->roff conversion. Specifically, go-md2man depends on Blackfriday (
https://github.com/russross/blackfriday) for the actual conversion and, it
automatically converts dashs to en-dashs.

I've opened a bug report with go-md2man upstream:
https://github.com/cpuguy83/go-md2man/issues/101

On Thu, 7 Sept 2023 at 16:50, Reinhard Tartler <siret...@gmail.com> wrote:

> Control: reassign -1 go-md2man-v2
> stop
>
> Thanks for your report Guy,
>
> All manpages in podman are written in markdown, and you can review the
> sources at
> https://github.com/containers/podman/blob/main/docs/source/Introduction.rst
> -- as you can see the sources do not contain any unicode characters.
>
> I strongly suspect that the unicode characters are introduced via the
> go-md2man utility. I'm reassigning this to that package for additional
> thoughts and suggestions. Please feel free to reassign back if this isn't
> coming from e.g.
> https://github.com/cpuguy83/go-md2man/blob/master/md2man/roff.go but
> something in the libpod packaging.
>
>
>
>
> On Thu, Sep 7, 2023 at 9:24 AM Guy Rutenberg <guyrutenb...@gmail.com>
> wrote:
>
>> Package: podman
>> Version: 4.3.1+ds1-8+b2
>> Severity: minor
>> X-Debbugs-Cc: guyrutenb...@gmail.com
>>
>> Dear Maintainer,
>>
>> The man pages supplied by the podman package use unicode en-dash (‐) to
>> document flags instead of regular dash (-). This is both inconvinient
>> when try
>> to search the man page, and incorrect (as you would use normal dash in the
>> shell).
>>
>> Thanks,
>> Guy
>>
>>
>> -- System Information:
>> Debian Release: trixie/sid
>>   APT prefers unstable-debug
>>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
>> 'experimental')
>> Architecture: amd64 (x86_64)
>> Foreign Architectures: i386
>>
>> Kernel: Linux 6.4.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
>> Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
>> Shell: /bin/sh linked to /usr/bin/dash
>> Init: systemd (via /run/systemd/system)
>> LSM: AppArmor: enabled
>>
>> Versions of packages podman depends on:
>> ii  conmon                           2.1.6+ds1-1
>> ii  golang-github-containers-common  0.50.1+ds1-4
>> ii  libc6                            2.37-7
>> ii  libdevmapper1.02.1               2:1.02.185-2
>> ii  libgpgme11                       1.18.0-3+b1
>> ii  libseccomp2                      2.5.4-1+b3
>> ii  libsubid4                        1:4.13+dfsg1-1+b1
>> ii  runc                             1.1.5+ds1-1+b2
>>
>> Versions of packages podman recommends:
>> ii  buildah            1.28.2+ds1-3+b2
>> ii  dbus-user-session  1.14.10-1
>> ii  fuse-overlayfs     1.10-1
>> ii  slirp4netns        1.2.0-1
>> ii  tini               0.19.0-1
>> ii  uidmap             1:4.13+dfsg1-1+b1
>>
>> Versions of packages podman suggests:
>> pn  containers-storage  <none>
>> pn  docker-compose      <none>
>> ii  iptables            1.8.9-2
>>
>> -- Configuration Files:
>> /etc/cni/net.d/87-podman-bridge.conflist [Errno 13] Permission denied:
>> '/etc/cni/net.d/87-podman-bridge.conflist'
>>
>> -- no debconf information
>>
>
>
> --
> regards,
>     Reinhard
>

Reply via email to