Re: [AD] Hashes bite back |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On January 1, 2004 01:14 pm, Grzegorz Adam Hankiewicz wrote:
> On 2004-01-01, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > > The problem is - filenames in linux can contain any character
> > >
> > > Not really, path separators, possibly \0 depending on
> > > implementation, maybe something else...
> >
> > just escape the special char, and you can use it. :) Otherwise,
> > even non ascii works... Though with my current settings, it shows
> > up as ascii ;) (garbage...)
>
> Are you sure?
pretty sure.. Just not sure how easy it is to create them via the shell.. I've
had some funky file names come out of "rename" ;) Could be wrong...
> $ touch "separator/file.txt"
> touch: no se puede efectuar `touch' sobre `separator/file.txt':
> No existe el fichero o el directorio
> $ touch "separator\/file.txt"
> touch: no se puede efectuar `touch' sobre `separator\\/file.txt':
> No existe el fichero o el directorio
>
> I know windows is even more restrictive, W2000 didn't allow me
> to create a directory name with more than one trailing dot, it
> would always rename the directory to just one, which is plain
> wrong/weird. I guess I was lucky that clippy didn't pop up...
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net