why doesn't this error message go to the bit bucket?

2006-08-28 Thread Com MN PG P E B Consultant 3
$ unalias fooee 2>&1 >/dev/null bash: unalias: fooee: not found Why is the error message displayed here? Because of the redirection, I had expected that any error message resulting from the unalias command would go to /dev/null Ronald -- Ronald Fischer (phone +49-89-63676431) mailto:[EMAIL PROTE

Re: why doesn't this error message go to the bit bucket?

2006-08-28 Thread Andreas Schwab
"Com MN PG P E B Consultant 3" <[EMAIL PROTECTED]> writes: > $ unalias fooee 2>&1 >/dev/null > bash: unalias: fooee: not found > > Why is the error message displayed here? Because you have redirected stderr (fd 2) to the channel connected to stdout (fd 1) before stdout was redirected to a differe

RE: why doesn't this error message go to the bit bucket?

2006-08-28 Thread Com MN PG P E B Consultant 3
> > $ unalias fooee 2>&1 >/dev/null > > bash: unalias: fooee: not found > > > > Why is the error message displayed here? > > Because you have redirected stderr (fd 2) to the channel connected to > stdout (fd 1) before stdout was redirected to a different channel (to > /dev/null). Of course! Stupi

Re: why doesn't this error message go to the bit bucket?

2006-08-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Com MN PG P E B Consultant 3 on 8/28/2006 2:41 AM: > $ unalias fooee 2>&1 >/dev/null > bash: unalias: fooee: not found > > Why is the error message displayed here? Because of the redirection, > I had expected that any error message result