Changed wc to use isspace(3)