home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / bash / bug / 495 < prev    next >
Encoding:
Text File  |  1992-07-23  |  912 b   |  34 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!colargol.edb.tih.no!bjornw
  3. From: bjornw@colargol.edb.tih.no (Bjoern Wennberg)
  4. Subject: bug or feature with 'type' command ?
  5. Message-ID: <1992Jul23.133619.4012@ugle.unit.no>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Colargol, Trondheim College of Engineering
  8. Distribution: gnu
  9. Date: Thu, 23 Jul 1992 13:36:19 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 21
  12.  
  13. Hi!
  14.  
  15. What should the 'type' command display ?
  16. When I do 'type -all man' I get
  17. man is aliased to `bman'
  18. man is ./man
  19.        ^^^^^
  20. This is a directory and shouldn't be displayed according to the 
  21. documentation of 'type'. The 'help type' says:
  22.  
  23.     If the -all flag is used, displays all of the places that contain an
  24.     executable named `file'.  This includes aliases and functions, if and
  25.     only if the -path flag is not also used.
  26.  
  27. Is this correct?
  28.  
  29. bjornw>
  30.  
  31. bjornw@colargol.edb.tih.no
  32.  
  33.  
  34.