OpenBSD package deletion, the dirty way
A quick way to delete multiple packages that match a common pattern, for example, if you want to deinstall all php packages on your box, you can do it simply like:
pkg_info | grep php | cut -f 1 -d ' ' | xargs pkg_delete
Sure there are better ways to do it, but personally, I like this one...