make grep POSIX compliance

use [[:space:]] instead of \s