[lug] Bizarre behaviour? XTerm runs test program?

Hugh Brown hugh at math.byu.edu
Tue Jul 5 16:45:47 MDT 2005


If you changed your path, it may have picked up the little program named
test.

A lot of shell scripts use test or [ ] to check various parameters.
This bit me once a long time ago, I was writing a little test program
and named it test and couldn't figure out why I couldn't get it to run
like I thought it should.

Hugh


On Tue, 2005-07-05 at 18:23 -0400, Gordon Golding wrote:
> Here is something cute.  
> 
> Signed on with XTerm.  A little program that was just lying around called "test" automatically started up in the window.
> 
> Anybody seen anything like that before?
> 
-- 
Hugh Brown <hugh at math.byu.edu>




More information about the LUG mailing list