[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: To "." or not to "."?
On Sunday 12 January 2003 21:48, anonymous wrote:
> Hi,
>
> 1) I am wondering why in the OpenBSD 3.2 default user .profile path
> statement, the current directory (".") is:
>
> . . . :/usr/games:/usr/X11R6/bin. (with a
> "." at the end, after "bin", with no space in between).
because you or someone else did it wrong.
>
> If the "." is just to add the current directory to the path
> statement, shouldn't there be a colon (":") before the ".", like
> there is in front of the other directories in the path statement?
> Like this:
>
> . . . :/usr/games:/usr/X11R6/bin:. (with a
> "." at the end, after ":bin", with no spaces in between).
Yes, it should.
--
Gerardo Santana Gómez Garrido
http://www.openbsd.org.mx/~santana/
OpenBSD México