"Steven Schveighoffer" <schvei...@yahoo.com> wrote in message 
news:op.v4bh35eaeav7ka@localhost.localdomain...
> On Tue, 01 Nov 2011 14:23:52 -0400, Graham Fawcett <fawc...@uwindsor.ca> 
> wrote:
>>
>> Too much work! Just put
>>
>>   alias test='./test'
>>
>> in your .profile, and be happy. :)
>
> That's a cool trick :)
>
> However, one issue, if you do happen to run any shell scripts where some 
> a**hole insisted on using test instead of the [] form, this will cause 
> problems.  There must be some way to check for an interactive shell...
>

The delicious irony is that if they had decided to use test instad of [], it 
was probably for the sake of maximizing compatibility.


Reply via email to