> > | My csh skills are rusty; I can't remember how to redirect stderr.
> >
> > In his case, I think he needs to replace:
> >
> > 2>&1 |
> >
> > with:
> >
> > |&
>
>
> i had the same question and had this answer:
> You can use this notation
>
> command >& file_name
>
> but this will stderr AND stdout to the same file. stderr comes to the
^^^^^^^^^^^
oops. it seems "redirect" is missing here...
one more thing, You can use the
bash -c 'command bla bla 2>some_file_or_/dev/null_or_whatever'
command which will run the command in bash, redirect stderr to anywhere
You want and give You only a nice clean stdout.
hope this helps...
love, peace and aspirin,
dd