All of lore.kernel.org
 help / color / mirror / Atom feed
* man 1 getopts example code - wrong dash
@ 2017-02-27 14:16 Marcus Geiger
       [not found] ` <CADOJ=xsjhuZ7_r8JXgfcgXVRi-bf1gN9irBnOePra+i-xv9HuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Marcus Geiger @ 2017-02-27 14:16 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-09  7:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27 14:16 man 1 getopts example code - wrong dash Marcus Geiger
     [not found] ` <CADOJ=xsjhuZ7_r8JXgfcgXVRi-bf1gN9irBnOePra+i-xv9HuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-27 16:02   ` walter harms
2017-03-13  3:31   ` Mike Frysinger
2017-12-03 15:25     ` minus signs instead of hyphen-minuses in man-pages-posix-2013-a (was: man 1 getopts example code - wrong dash) Nico R.
     [not found]       ` <20171203152541.GB8608-apn8OiFnwzd6HCqoLBzdJtgH40HQ1Lc/@public.gmane.org>
2018-02-09  7:22         ` minus signs instead of hyphen-minuses in man-pages-posix-2013-a (was: man 1 getopts example code - w Daniel Lublin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.