Andrew Brampton <[email protected]> writes:
> Today I was writing a script to read all the dev.cpu.?.temperature
> sysctl OIDs. I was parsing them using a simple grep, but it occurred
> to me it might be better if sysctl supported some form of regexp.

You mean glob, not regexp...

> For example instead of typing:
> sysctl -a | grep dev.cpu.*.temperature
>
> I could write:
> sysctl dev.cpu.*.temperature

Sounds like a good idea.  Shouldn't be too hard to implement either.

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to