Re: Ideas for path separator character
Al Getz wrote:
>
> Hello there,
>
> Im looking for ideas for a single character to use as a path separator.
> The character shouldnt be anything that could be contained within a
> path (win or lin).
> Problem is, every char you pick 'could' be contained in the
> path at the end where the program arguments can be.
Pick something uncommon. Windows normally uses a semi-colon, linux a colon.
I'd go with the semi-colon, since the colon is common in windows paths. If
a user wants to use a semi-colon in a path (should be pretty rare) then
document that they'll need to escape it by using two.
Matt Lewis
|
Not Categorized, Please Help
|
|