[beginner] Why nothing is printed to stdout ?

Nick Sabalausky a at a.a
Wed Nov 2 08:06:43 PDT 2011


"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message 
news:op.v4bh35eaeav7ka at localhost.localdomain...
> On Tue, 01 Nov 2011 14:23:52 -0400, Graham Fawcett <fawcett at 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.




More information about the Digitalmars-d-learn mailing list