Correct build logic depending on the grep(1) command.

Remove substitutions irrelevant to newer vendor dist and Solaris OS.

(0) -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial