[Bug 527] the check make target has a greedy debug grep

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Sun Dec 31 03:37:24 CET 2006


https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=527





------- Additional Comments From vapier at gentoo.org  2006-12-30 05:34 MET -------
Created an attachment (id=280)
 --> (https://bugzilla.netfilter.org/bugzilla/attachment.cgi?id=280&action=view)
iptables-more-exact-check-grep.patch

this tweaks the grep:
egrep -e '(^|[[:space:]])(-g|-pg|-DIPTC_DEBUG)([[:space:]]|$)'

that way the flag needs to appear either at the start or end or is bordered by
whitespace

------- Additional Comments From vapier at gentoo.org  2006-12-31 03:37 MET -------
note that i had wanted to just use the simpler grep expression:
egrep -e '\<(-g|-pg|-DIPTC_DEBUG)\>' > /dev/null

but it didnt work for me when the stuff after \< started with a '-' ... maybe
someone else can get it to work

-- 
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the netfilter-buglog mailing list