1.

Solve : Grep parameters in a make file?

Answer»

Hi,

I am trying to use the grep command within a makefile but I'm having DIFFICULTY with the syntax e.g. :-

Code: [Select] $(shell $(GREP) "apple" fruitlist.txt)
RETURNS an error that the file can't be located, it appears that the parameters are read as ONE hence returning an invalid file name.
Is there a PARTICULAR separator I should be using?
Any help is appreciated thanks.



Discussion

No Comment Found