spawning grep command