_hexlinex: if (isgraph(c))  ==>  if (isspace(c) || isgraph(c))
Oh fudge! s/b: if (' ' == c || isgraph(c))