On Mon 02 Jul 2007 at 11:02AM, Mike Kupfer wrote: > >>>>> "meem" == Peter Memishian <[EMAIL PROTECTED]> writes: > > meem> While I agree using "print -u2 foo" is better, I'm not sure how > meem> it's any harder than "echo foo >&2". > > It's not harder, but it's cleaner IMO. It's easier to notice the -u2 > before a long message than ">&2" after a long message.
For what it's worth... A problem I hit when developing webrev was that some users had /usr/ucb first in their path. This means that \c at the end of an echo string does not work for those users. So if you want to stick with echo and work for all users, then either you have to set PATH, or run /bin/echo. I opted to use printf since I only needed one syntax and the -u2 syntax seemed cleaner. -dp -- Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org