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