[NTLUG:Discuss] PATH issue
Eric Schnoebelen
eric at cirr.com
Fri Jul 29 11:21:45 CDT 2011
Fred James writes:
- In tracking down another problem (possibly related) I found that my PATH
- is set as follows ...
-
- /bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:\
- /usr/lib/qt3//bin:/usr/lib/qt4/bin:/usr/lib/qt3//bin:\
- /home/fredjame/bin:/usr/lib/qt4/bin:/usr/lib/qt3//bin
-
- ... wherein that last bit (:/usr/lib/qt3//bin) looks like a possible
- show stopper(?) for some things, but I cannot seem to locate where that
- is being set.
Why do you think it might be show-stopper?
(now, the fact that you've got
'/usr/lib/qt4/bin:/usr/lib/qt3/bin' in your path 3 times is
annoying, but hardly a problem.)
As someone else mentioned, the double slashes will be compressed
into a single slash as far as walking the directory structures
is concerned. (actually, I think POSIX specifies that any number
of adjacent slashes in the path are treated as a single slash
character -- although I imagine the standards document says
something like "path seperator".. :D)
--
Eric Schnoebelen eric at cirr.com http://www.cirr.com
IBM is really really good at documentation. They may implement
something so amazingly stupid it makes you slap your forehead,
but darn if they don't document what they did. -- Kevin P. Neal
More information about the Discuss
mailing list