HP3000-L Archives

March 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jan Gerrit Kootstra <[log in to unmask]>
Reply To:
Jan Gerrit Kootstra <[log in to unmask]>
Date:
Tue, 28 Mar 2000 08:15:48 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
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
>

ATOM RSS1 RSS2