[comp.unix.questions] running a program "test" in a shell script

danj1@ulysses.att.com (Dan Jacobson) (03/15/91)

[oh boy! I am the first to answer! :-)]
>>>>> On Thu, 14 Mar 91 03:25:47 GMT, russell@ccu1.aukuni.ac.nz
>>>>> (Russell J Fulton;ccc032u) said:

Russell> All was well until somebody named their executable 'test'.

They should use a different name.  [Brilliant observation #1 ! :-) ]

Russell> This results in a script being generated and executed on the
Russell> sun that includes the line

Russell> test <parameters>

Try ./test <parameters>
or /some/ugly/hardwired/path/test <parameters>
[Brilliant observation #2 ! :-) ]