man 1 getopts example code - wrong dash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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

Kind regards

Marcus Geiger
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux