On 27 Feb 2017 15:16, Marcus Geiger wrote: > in the examples section of `man 1 getopts`, every dash/minus used in the > example code cannot be parsed by bash. vi claims it's 0x2212 instead of 0x2d. > > I'm on Ubuntu 16.04 with bash 4.3.46(1)-release. Unfortunately I couldn't find > the source code for this man page, but the current online pages entry also has > this problem: http://man7.org/linux/man-pages/man1/getopts.1p.html > > The containing package is: > > $ dpkg -S $(man -w 1 getopts) > manpages-posix: /usr/share/man/man1/getopts.1posix.gz looks like a bug in the man page itself. it uses \(mi instead of \- in the example code. might be an artifact of the conversion process though as iirc, the posix pages are generated. -mike