Date: Fri, 26 Jul 1996 11:31:01 BST From: Michael Ryan <mike@NetworX.ie> To: freebsd-bugs@freebsd.org Subject: grep manpage inaccurate Message-ID: <ECS9607261101A@NetworX.ie>
next in thread | raw e-mail | index | archive | help
The following text in the grep(1) manpage is incorrect. Its reference to "a single character" should read "an atom" where an atom is as defined in re_format(7). A regular expression matching a single character may be followed by one of several repetition operators: ? The preceding item is optional and matched at most once. * The preceding item will be matched zero or more times. + The preceding item will be matched one or more times. {n} The preceding item is matched exactly n times. {n,} The preceding item is matched n or more times. {,m} The preceding item is optional and is matched at most m times. {n,m} The preceding item is matched at least n times, but not more than m times. Mike <mike@NetworX.ie> ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ECS9607261101A>