Article View: gnu.bash.bug
Article #220bug or feature with 'type' command ?
From: Bjoern Wennberg
Date: Thu, 23 Jul 1992 13:36
Date: Thu, 23 Jul 1992 13:36
19 lines
941 bytes
941 bytes
Hi!
What should the 'type' command display ?
When I do 'type -all man' I get
man is aliased to `bman'
man is ./man
^^^^^
This is a directory and shouldn't be displayed according to the
documentation of 'type'. The 'help type' says:
If the -all flag is used, displays all of the places that contain an
executable named `file'. This includes aliases and functions, if and
only if the -path flag is not also used.
Is this correct?
bjornw>
bjornw@colargol.edb.tih.no
Technical Details
Message-ID:
<1992Jul23.133619.4012@ugle.unit.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!colargol.edb.tih.no!bjornwShow Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!colargol.edb.tih.no!bjornw From: bjornw@colargol.edb.tih.no (Bjoern Wennberg) Subject: bug or feature with 'type' command ? Message-ID: <1992Jul23.133619.4012@ugle.unit.no> Sender: gnulists@ai.mit.edu Organization: Colargol, Trondheim College of Engineering Distribution: gnu Date: Thu, 23 Jul 1992 13:36:19 GMT Approved: bug-bash@prep.ai.mit.edu Lines: 21