Date: Sun, 19 May 2002 11:12:00 -0700 From: Mark Peek <mp@FreeBSD.org> To: Riccardo Torrini <riccardo@torrini.org> Cc: freebsd-current@FreeBSD.ORG Subject: Re: tcsh Message-ID: <p05111709b90d9a6f6e9e@[10.1.1.198]> In-Reply-To: <XFMail.20020519181409.riccardo@torrini.org> References: <XFMail.20020519181409.riccardo@torrini.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111709b90d9a6f6e9e>