running a program "test" in a shell script

Dan Jacobson danj1 at ulysses.att.com
Fri Mar 15 07:45:57 AEST 1991


[oh boy! I am the first to answer! :-)]
>>>>> On Thu, 14 Mar 91 03:25:47 GMT, russell at 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 ! :-) ]



More information about the Comp.unix.questions mailing list