> >  > One reason to use print occurred to me last night: error messages should
 > >  > usually go to stderr, not stdout, and that's easier with print ("print
 > >  > -u2") than with echo.  So I'll go ahead with the switch to print.
 > > 
 > > While I agree using "print -u2 foo" is better, I'm not sure how it's
 > > any harder than "echo foo >&2".
 > 
 > Erm, "echo foo >&2" are two seperate statements while "print -u2 foo" is
 > only one

I don't think that really matters here.  (Again, I have nothing against
print.  That said, the whole notion of passing file descriptors as
command-line seems counter to the original [elegant] idea of fd
redirection.)

-- 
meem
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to