1 2 3 4 5 6 7
#!/usr/bin/sed -E -n -f # $FreeBSD$ /^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ { s/[[:space:]]*#.*$// p }