Match the files directive and all the ways to add or subtract options
and makeoptions by being a little smarter about REs.
This commit is contained in:
parent
66d18d0999
commit
e53211de04
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226013
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/sed -E -n -f
|
||||
# $FreeBSD$
|
||||
|
||||
/^(machine|ident|device|nodevice|makeoptions|nomakeoption|options|option|nooption|profile|cpu|maxusers)[[:space:]]/ {
|
||||
/^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ {
|
||||
s/[[:space:]]*#.*$//
|
||||
p
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user