in reply to Re: Re5: split to get the dir name in thread split to get the dir name
- The usage of substr with 'ls -l' results in an index that is platform-dependent.
- The 'ls' command is supported on more than just *nix platforms. How it is implemented (especially the -l flag) is is platform-dependent. It's also locale-dependent.
------ We are the carpenters and bricklayers of the Information Age. The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|