lua-users home
lua-l archive

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


On Wed, Apr 25, 2012 at 3:00 AM, Wolfgang Pupp <wolfgang.pupp@gmail.com> wrote:
> Attached is a changed pl.path:
> - "the normalizing multiple .."- issue is fixed.

Excellent, thank you!

> - I made it so you can pick your preferred separator on windows via
> path.prefer_slash, which is simply ignored if not path.is_windows

Ideally both / and \ should be just fine on Windows, but paths to tend
to be converted to 'canonical' form (lower-case, uses \)

Generally / is fine for Windows paths until you pass it to a command
that doesn't like it ;)

steve d.