[ale] Solaris/Unix newsgroup

Joseph Rattz Jr joerattz at yahoo.com
Wed Jul 29 14:52:55 EDT 1998


Does anyone know of a message board like this for Solaris/Unix that
has a WWW or email front end?  I have a Solaris/Unix specific question
and don't have newsgroup access from work.

I don't know what will happen if I do this in Linux, it behaves
differently on NCR Unix than it does the Solaris 2.6 box.  Here is my
problem if anyone knows what is going on.

I want to redirect stderr to an email.  I have had weird results
redirecting stderr.  For example, if I do an ls on a filename that
doesn't exist to get stderr message, I get

> ls asasas
asasas: No such file or directory

This is coming through stderr which is easy enough to verify by
redirecting stdout to /dev/null followed by stderr.  So I KNOW the
message is stderr.

Then I can redirect stderr to stdout like
> ls asasas 2>&1

If I pipe this to tee, everything seems to work fine.  The file I
specify to tee will get created with the correct data in it.

> ls asasas 2>&1 | tee data
asasas: No such file or directory
> cat data
asasas: No such file or directory

But, if I pipe to mail and my id,

> ls asasas 2>&1 | mail myid

I get a mail message, but there is no content to the message.  If I do
the same line as above and don't redirect the stderr, a mail message
doesn't even get created.  To me this indicates that mail must see the
output.  This works just fine on NCR Unix.  I don't know the behavior
on Linux. 

Anyone got any ideas?







==
Please don't add the e-mail address of this message to 
any e-mail address books.  Please use my normal e-mail
address (joerattz at mindspring.com) for any correspondence
other than the reply of a message I send you.  This is
because the address that is originating this message is
a temporary one.  Thank you.

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com






More information about the Ale mailing list