home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16148 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  951 b 

  1. Path: sparky!uunet!mcsun!sunic!dkuug!diku!dingbat
  2. From: dingbat@diku.dk (Niels Skov Olsen)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: which(1) ? where-is-it : I-wrote-one
  5. Message-ID: <1992Nov9.141410.9490@odin.diku.dk>
  6. Date: 9 Nov 92 14:14:10 GMT
  7. References: <9211082953@gandalf.moria>
  8. Sender: dingbat@rimfaxe.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 18
  11.  
  12. michael@gandalf.moria (Michael Haardt) writes:
  13.  
  14. >Hello,
  15.  
  16. >I just noted that the GNU shellutils don't include which(1).  If there
  17. >is a version floating around, I would like to know where I can get it,
  18. >otherwise I offer to make mine (including manual page) available.
  19.  
  20. >I am not too happy with using the one from Minix.  It is ok for me,
  21. >because I bought Minix, but others didn't and I think giving Minix-which
  22. >away is a copyright violation.
  23.  
  24. If you use bash, you can use the internal command 'type'.
  25. I use an alias like this:
  26.     
  27.     alias which='type -path'
  28.  
  29. Niels
  30.