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)
