On Mon, Nov 16, 2015 at 08:55:16PM +0530, srithar jeevadurai wrote:
3) $>alias grep='/usr/sfw/bin/ggrep ' $>gmake */bin/sh: test: argument expected* gmake: Warning: File `build/tests/keywords/autoconf.h.mk' has modification time 8.2 s in the future /*bin/sh: s,#[\\t ]*ifdef[\\t ]*" $2 "$,#if "$3 ",g;s,#[\\t ]*ifndef[\\t ]*" $2 "$,#if !"$3 ",g;s,defined(" $2 ")," $3 ",g;"}: not found* *gmake: *** [src/include/autoconf.sed] Error 1* Usage: grep -hblcnsviw pattern file . . .
It is still giving same error message (even I have set the alias grep as '/usr/sfw/bin/ggrep '.
An alias won't help scripts; you need a correctly named binary or a symlink. Then hope the build scripts don't call another binary that's been updated in the last 15 years. Rinse and repeat. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>