On Fri, Aug 05, 2005 at 08:01:02AM +1000, James Gray wrote:
> I thought /dev/stdout and /dev/stderr were the "POSIX-ly" correct forms?  
> I've 
> always used them in my scripts for this sort of thing and often move them 
> from Linux <-> Solaris <-> BSD <-> AIX without needing much more than editing 
> the #! line.

Yeah, I remembered those just after sending this message, and thought
they might always go to the "real" stdout/stderr. i.e. if redirected,
though I'm not sure that makes sense.

But it turns out these are just links to /dev/fd/1 and /dev/fd/2.
On Linux at least.

Likewise /dev/stdin -> fd/0


Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to