/etc/profile.d/kde.csh has the following incorrect line: if ( `echo ${PATH} | grep -q ${kdepath}` ) then Since grep -q never generates output, the value interpolated by the backticks will always be the empty string. Presumably braces were intended, but these don't work properly for pipelines, so the best solution is probably to apply the following patch: --- kdesupport-1.1.2/scripts/kde.csh.orig Mon Jul 12 13:38:02 1999 +++ kdesupport-1.1.2/scripts/kde.csh Thu Dec 9 12:11:08 1999 @@ -6,7 +6,8 @@ endif setenv KDEDIR @KDEPREFIX@ set kdepath="${KDEDIR}/bin" -if ( `echo ${PATH} | grep -q ${kdepath}` ) then +echo ${PATH} | grep -q ${kdepath} +if ( $status == 0 ) then exit endif
Thanks, fixed.