Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: tcsh -X behavior



On Fri, Oct 13, 2000 at 18:08:25 +0200, Nemeth Ervin wrote:
> So in a shell-script:
> 
> if hash ls 2> /dev/null; then
>         :
> fi

I currently use "whence >/dev/null" (it checks for aliases too, but this
is OK for me). What is the best one?

But IMHO, a -X operator would be a good idea.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author