On Tue, 01 Nov 2011 14:23:52 -0400, Graham Fawcett <fawc...@uwindsor.ca> wrote:

On Tue, 01 Nov 2011 07:27:44 -0400, Kagamin wrote:

Steven Schveighoffer Wrote:

Oh I remember doing that too :)  Don't feel bad, everyone does this at
least once.  I hate that stupid test builtin, nobody ever uses it
anymore.

Note, it's not a command line tool, it's a shell builtin, which is why
it overrides anything in your search path.

I've since adopted the habit of calling test programs "testme" instead
of "test" :)

Huh, must port windows console to linux ^_^

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...

-Steve

Reply via email to