Thanks to the previous comments on the list I was able to get 2.5.4 compiled for Solaris 10 AMD64, 64-bit using Sun C 5.8. I removed the three 'return' statements from search.c on lines 284, 289, 294. To get the tests to pass, I changed 'echo -n' to printf. FWIW, Sun recommends printf in preference to echo - see http://docs.sun.com/app/docs/doc/805-3172/6j31br5bp?a=view. I was happy using grep 2.5.1 on Solaris, until I noticed the colors looked much better in Cygwin v 2.5.3. I'm glad to have the latest grep working on Solaris now.
NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited.
