Patterns in the case statement didn't work on my FreeBSD box due to a bogus-looking extra '(', so I removed it. Hope I haven't broken anything.