From my understanding, the following should send '
test' on standard error in tcsh:
echo test >&2
However, it instead writes '
test' to a file named
2, and when I look through my history, I find that what actually executed was
echo test > & 2
I'm not sure what layer is inserting those spaces, but can I stop it somehow? If not, I guess I could always use
> /dev/stderr instead.