On Wed, Feb 27, 2002 at 06:25:46AM -0000, Venkata Subramanian spoke out thus: > Actually, I want to run diff command depending on the status of > cmp, i-e only if the exit status is 1, indicating a difference in > the files.
If you are sure that cmp won't generate an error( return value > 1) then you can use $(TOOL) file1,file2 || diff file1 file2 > file1-file2.diff Also, please see that the path to the "override" program (especially if it is in the current directory) is completely specified. - Sandip -- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ---------------------------- ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================
