At 6:14 PM +0200 5/19/02, Riccardo Torrini wrote: >If exists a directory named "sort" tcsh chdir to that dir instead of >executing sort present in path (and no, I have no "." anywere in path) > ># pwd >/usr/src/contrib ># find . -name Makefile | sort ># pwd >/usr/src/contrib/sort ># cd .. ># find . -name Makefile | /usr/bin/sort >./bind/Makefile >./bind/bin/Makefile >[...] > > >And it also happen with non existent commands: > ># pwd >/usr/src/contrib ># find . -name Makefile | libreadline ># pwd >/usr/src/contrib/libreadline
I tried to reproduce this problem but it worked fine for me. # pwd /usr/src/contrib # find . -name Makefile | sort ./bind/Makefile ./bind/bin/Makefile [...] This could be due to something in your .cshrc file. Try this: # tcsh -f -c "find . -name Makefile | sort" the -f flag will prevent sourcing the .cshrc file. Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message