
Beman Dawes wrote:
"Jeff Flinn" <TriumphSprint2000@hotmail.com> wrote in message news:d7n2rh$v06$1@sea.gmane.org...
Beman Dawes wrote: ...
Question: what should path("foo//bar//").string() yield?
1) "foo//bar//" 2) "foo/bar/" 3) "foo/bar/."
I personally prefer 2, and already filter these beasties using the string_algo library when I get them from environment variables.
Interesting. I don't think I've ever seen these in practice.
Yeah, interesting here's some examples(names changed to protect the not so innocent): xxx_DOS_HOME=g:\\release\\winnt\\advdev\\ xxx_yyy_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0 xxx_yyy_aa_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0 xxx_yyy_aa_ROOT=g://release//winnt//xxx////yyy//v7.0 xxx_yyy_ROOT=g://release//winnt//xxx////yyy//v7.0 xxx_yyy_bb_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0 xxx_yyy_bb_ROOT=g://release//winnt//xxx////yyy//v7.0 and my favorite: xxx_cc_DOS_HOME=g:\\release\\winnt\\advdev\\//xxx//cc//bin
Although, I've been told the multiple slashes are required by our legacy nut-cracker laden dlls that front-end a fairly old version of gnumake. I've no idea why they are needed though.
That makes me nervous. Is there any chance you could find out why they are/were needed?
I'll try to find an answer this afternoon. Jeff Flinn