[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ? problem with dselect (dpkg dpkg-0.93.70.deb)



Richard Kettlewell writes ("? problem with dselect (dpkg dpkg-0.93.70.deb)"):
> Oz Dror writes:
> >I got the following error:
> >bash: /usr/sbin/dselect: No such file or directory
> >but there is a file dselect in
> >/usr/bin/dselect
> 
> You need to type 'hash -r' [...]
> Hmm.  Perhaps this is a bug (or alternatively a design flaw) in bash.
> Sensible behaviour here should be easy to implement, and I can't see
> why the current behaviour should be useful.

I agree.

A `stat' of each of the directories on the PATH, when a hash lookup
fails, would be quite easily done, and would be much quicker than
having to reread every directory.

Ian.


Reply to: