Jean-Marc Lasgouttes wrote:
> Georg> What is difficult: Setting the environment variable, or
> Georg> determine its value? I guess the latter should be doable
> Georg> without too much pain with the existing path conversion
> Georg> routines?
> 
> On unix, this is a ":" delimited list of directories. On windows,
> depending on whether the program uses win32 paths or unix path, it
> can be a ";" delimited list of directories.

Is semi-colon an allowable character in a unix path? Similarly, is 
colon an allowable character in the win32 path?

I think that the answer to these questions is "no" and "no", which 
means that we could use boost::regex to split the list, using "[:;]" 
as the delimiter.

-- 
Angus

Reply via email to