lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> nope, it doesn't.
> print(dirname("x/y/z/abc\\def"));
> print(basename("x/y/z/abc\\def"));
> x/y/z/abc
> def
> it is totally wrong on Linux, 'cause "abc\def" is a perfectly
> acceptable *file* name, not path+filename.

Fair enough. But being of a practical bent, I honestly don't care
about that case.

Out of interest, for what do you use filenames with backslashes?