Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Braces in your path' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Braces in your path
Authored by: serversurfer on Oct 04, '01 02:00:36AM

I am guessing that it is significant, but I can not reproduce this myself to see
what is going wrong. Check the syntax of the above commands, and make sure you
are entering them correctly. If you still get braces in the echo of your path,
post the commands you are using and the resultant echo of your paths.
Copy and paste whatever is in the Terminal in to the post.

[ Reply to This | # ]
My Bad
Authored by: JoeHope on Oct 04, '01 07:42:20PM

Sorry. My attempt had quotes. As a potentially interesting side note,
the braces only appeared when I looked at the environment variable
through "env", and were invisible with "echo".


[starone:~] joe% echo $MANPATH
[starone:~] joe% env | grep -A2 MANPATH
[starone:~] joe% setenv MANPATH "{$MANPATH}:/extramanpage/man"
[starone:~] joe% echo $MANPATH
[starone:~] joe% env | grep -A2 MANPATH

[ Reply to This | # ]
Curly brackets
Authored by: alunap on Oct 06, '01 06:32:50AM

The curly brackets are in the wrong place, it should be "${PATH}" and not "{$PATH}".

[ Reply to This | # ]