"Steven Schveighoffer" <[email protected]> wrote in message news:[email protected]... > On Tue, 01 Nov 2011 14:23:52 -0400, Graham Fawcett <[email protected]> > 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.
