> |>here's the whole script...short answer is csh:
> |>
> |>#!/bin/sh
> |
> | That's the problem: you're using Bourne shell syntax in the C Shell.
> | 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
beginning of the file and the rest is stdout.
btw the operator mentioned above (|&) didn't work in my tcsh and
csh. maybe the versions are different, dunno...
love, peace etc
dd