I run the following command:
pkg_add emacs-23.4,2.tbz 2> output.log
The output still displays in the terminal. When I press ↑, I get
pkg_add emacs-23.4,2.tbz 2 > output.log
with a space before the 2.
I did not originally put this. I try
pkg_add emacs-23.4,2.tbz > output.log 2>&1
Again, when I press ↑, spaces have been added.
Why is this happening to me?
I am running csh on FreeBSD.

echo $SHELLshow? – Karlson Apr 4 '12 at 16:51