
Whence - version 1.4

Rationale
~~~~~~~~~

	This simple tool searches each directory in the AmigaDos Path for
the given command and reports each instance.

	It is useful for determining if the first instance encountered,
( the one AmigaDos will execute ), is the one expected. 

	Whence is functionally similar to AmigaDos 2.04 command 'which',
but has some small differences, namely :-

	1) the size and date of the command are printed.
	2) redundant reporting of  C: is suppressed.

Installation
~~~~~~~~~~~

Just put it somewhere in the commands path, e.g C:
	
Example
~~~~~~~

Here's a concocted example of 'whence dir'.  

dir                          2943 bytes : 10-Oct-90 13:11:15
RAM_DISK:dir                 3440 bytes : 20-Jan-93 21:11:15
C:dir                        3440 bytes : 16-Jul-91 15:06:55

The first 'dir' (the one which will be executed ) is in the current 
directory and is older than the other versions. Murphy's law says
that it's not the one you want to execute.

Background
~~~~~~~~~~

	A while ago I got the version of whence off Fish Disk 432
and found that it reported not only files(commands) but directories. 
As the author didn't have a net address I decided just to write my 
own version to make it report files only, like the UNIX version, plus
modify its behaviour to report all instances of a command including
size and date.
 
Reporting multiple versions deviates from the UNIX whence but it seemed 
useful since it exposed all instances of a command, some of which may
be superfluous.  


 	Bug reports etc via e-mail to gduncan@werple.net.au.

Distribution
~~~~~~~~~~~~

This is issued with C-source, compilable under SAS/C 6.5x, and is freeware.


