Bug: NSCA 2.4 on OS X 10.3

Karl DeBisschop kdebisschop at alert.infoplease.com
Wed Jan 28 14:08:10 CET 2004


On Tue, 2004-01-27 at 22:59 -0800, Noah Leaman wrote:
> Yes. Look at that. It appears /bin/echo on OSX doesn't support -e ...

A note to developers. 'echo' is not portable. Use 'printf'

(See POSIX for a description of the rationale, but the long and short is
echo cannot be used portably.)

So the portable solution is like:

	printf "%s %s\n", $var1, $var2

-- 
Karl DeBisschop <kdebisschop at infoplease.com>
Director of Software Development, Infoplease/Pearson Education




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn




More information about the Users mailing list