|
From: | Reuben Thomas |
Subject: | Re: grep-2.5.4-20090203 compilation issues |
Date: | Mon, 9 Mar 2009 10:48:32 +0000 (GMT) |
User-agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
On Mon, 9 Mar 2009, Brian Egge wrote:
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.
This applies in general: POSIX does not specify -n, and worse, leaves unspecified the behaviour of echo with respect to backslashes.
-- http://rrt.sc3d.org/ | pirate, n. a politician of the seas (Bierce)
[Prev in Thread] | Current Thread | [Next in Thread] |