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


My Bad | 13 comments | Create New Account
Click here to return to the 'My Bad' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
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".

i.e.

[starone:~] joe% echo $MANPATH
/Users/joe/man:/usr/local/share/man:/usr/share/man:/usr/local/teTeX/man:/usr/local/man:/usr/X11R6/man/:/Applications/lam-6.5.4/man:/usr/local/X11/man
[starone:~] joe% env | grep -A2 MANPATH
MANPATH=/Users/joe/man:/usr/local/share/man:/usr/share/man:/usr/local/teTeX/man:/usr/local/man:/usr/X11R6/man/:/Applications/lam-6.5.4/man:/usr/local/X11/man
[starone:~] joe% setenv MANPATH "{$MANPATH}:/extramanpage/man"
[starone:~] joe% echo $MANPATH
/Users/joe/man:/usr/local/share/man:/usr/share/man:/usr/local/teTeX/man:/usr/local/man:/usr/X11R6/man/:/Applications/lam-6.5.4/man:/usr/local/X11/man:/extramanpage/man
[starone:~] joe% env | grep -A2 MANPATH
MANPATH={/Users/joe/man:/usr/local/share/man:/usr/share/man:/usr/local/teTeX/man:/usr/local/man:/usr/X11R6/man/:/Applications/lam-6.5.4/man:/usr/local/X11/man}:/extramanpage/man



[ Reply to This | # ]