backslash

Jorge Almeida jjalmeida at gmail.com
Thu Jun 26 01:21:38 PDT 2008


On Thu, 26 Jun 2008, Roger Oberholtzer wrote:


> Ahhh. Light bulb. You are looking for a character that cannot (as
> opposed to 'should not in common usage') occur in a file name. I thought
Hmmm, quite the contrary, actually. I'm looking for a character that
will not appear in the path of a file distributed with a real package (I
know that backslashes and even stranger things can appear in a file name
if we choose to do it, but the question is "will a developer do it?", or
are there some universally accepted guidelines?)
>
>
> I can't think of any character that will not occur. I have put control
> characters in names (crummy too.slow keyboards).
>
> Perhaps you could choose some obscure utf-8 character. Even though Linux
> file systems are often utf-8, you could choose some obscure Burmese
> character that seldom shows up in a file name...
>
I know nothing about this kind of stuff. It would have to be something
that I can manage through a lean C program, not requiring some strange
library...

Jorge



More information about the Linux-users mailing list