Bary,
Please do not do this, you may cause problems with that. If you make a
script or program called test you will not be able to use an if statement
anymore.
The posix command test will not be run anymore in that case.
Security loopholes can be created also.
Regards,
Jan Gerrit Kootstra
"Barry Lake" <[log in to unmask]> schreef in bericht
news:F4B1826B1A21D211AEC5006008207AF40437827A@dogbert.csillc.com...
> At 7:57 AM -0600 3/27/00, [log in to unmask] wrote:
> >Thanks to everyone for your notes.
> >
> >I was hoping that unix/posix would be more like mpe or dos(now I'm dating
> >myself!) in that it would check your current directory for a command
before
> >traversing the path statement.
> >
> >Carl
>
>
> Couldn't you just set the PATH variable to have your current directory as
> the first item, rather than the last? Something like...
>
> export PATH=".:$PATH"
>
> -- BLake
>