Subject: Re: [boost] [filesystem] basic_path::operator>> issue for paths with spaces
From: Johan RÃ¥de (rade_at_[hidden])
Date: 2008-09-22 14:48:56
Scott McMurray wrote:
> On Mon, Sep 22, 2008 at 14:14, Johan RÃ¥de <rade_at_[hidden]> wrote:
> That sounds good, but how would it handle paths with "s in them?
> $ touch '"'
> $ rm '"'
> rm: remove regular empty file `"'? y
> $ touch '\'
> $ rm '\'
> rm: remove regular empty file `\\'? y
> ~ Scott
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
I don't know. I only have experience with Windows,
where spaces are common and "s are not allowed in path names.
It is a common convention on Windows
to surround paths, that contain spaces, by quotes.
How is this problem handled on Unix?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk