lion doesn't have bash 4.0, so have to keep using posix stuff