Red Hat Bugzilla – Bug 431964
colorls.csh: dircolors: extra operand '2' -- can't use 2> in csh scripts
Last modified: 2008-02-14 10:42:07 EST
Description of problem:
/etc/profile.d/colorls.csh has this syntax which is invalid in csh/tcsh:
eval `dircolors -c $COLORS 2>/dev/null`
You can't redirect ONLY stderr in csh/tcsh. It isn't supported.
Not sure what the intent is here, but you can redirect BOTH stdout/stderr with
>&. See this for description of the issue and some workarounds:
Version-Release number of selected component (if applicable):
Will not redirect anything - this was the way how it works in F8. Done in
coreutils-6.10-7.fc9 , closing RAWHIDE.