Matthew Woehlke wrote:
> Bob Proulx wrote:
> > Traditional Unix machines used a csh script /usr/bin/which to search a
> > defined set of system paths.  Newer ksh used 'whence'.  Bash uses 'type'.
> > XSI extensions to POSIX require 'command -v'.  Debian implemented
> > 'which' as a bash shell script and fixed problems with the csh
> > implementation making the Debian 'which' usable but different from
> > everyone else's 'which' command.
> 
> And newer GNU systems have GNU which; a stand-alone program that does 
> neat things like read aliases from stdin so that you can do:
> $ which ll
> alias ll='ls -l --color=tty'
>         /usr/local/bin/ls
> $ alias which
> alias which='alias | which -i'
> $ which --version
> GNU which v2.16, Copyright (C) 1999 - 2003 Carlo Wood.

Wonderful.  Yet another 'which' implementation!

Bob


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to