freebsd-skq/share/man
Ed Maste e9e768f7e3 bsdgrep: disable GNU_GREP_COMPAT by default
The GNU extension bits in the base system are old, no longer faithful
to upstream, and surprising in some regards. Switch to documenting
WITH_GNU_GREP_COMPAT and default GNU_GREP_COMPAT to OFF in the name of
good behavior.

According to http://www.regular-expressions.info, GNU extensions:

-  Add missing quantifiers to BREs: \?, \+

-  Add branching to BREs: \|

-  Add backreferences (\1 through \9) to EREs

-  Add \w, \W, \s, and \S corresponding to :alnum:, [^[:alnum:]],
   :space:, and [^[:space:]] respectively

-  Add word boundaries and anchors:
   \b: word boundary
   \B: not word boundary
   \<: Strt of word
   \>: End of word
   \`: Start of subject string
    \': End of subject string

These extensions are still available in /usr/bin/grep by default today,
as it is still GNU grep.  As part of the bsdgrep migration plan these
extensions may be added to bsdgrep's regex support if necessary.

Submitted by:	Kyle Evans <kevans91 at ksu.edu>
Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D10114
2017-04-21 14:50:29 +00:00
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 pthread_mutex_consistent: sort SEE ALSO by reference name 2017-03-27 19:17:30 +00:00
man4 Mention GEOM_MOUNTVER. 2017-04-20 20:06:51 +00:00
man5 bsdgrep: disable GNU_GREP_COMPAT by default 2017-04-21 14:50:29 +00:00
man6 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man7 Unify capitalization. 2017-04-06 19:17:20 +00:00
man8 Remove backup_uses_rcs from rc.subr 2016-09-18 12:49:23 +00:00
man9 sbuf(9): add MLINKS for sbuf_{clear,get,set}_flags(9) 2017-04-06 05:02:03 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00