Quote:
Originally Posted by NuPogodi
Apart from avoiding a garbage, I want in future to use these lua-files in making a list of recently opened docs. An evident drawback is that several files may have the same filename, but stored in various folders.
|
One way to deal with that is to split the filename off from the pathname and then reverse their order, as in:
/somewhere1/filename
/somewhere2/filename
into (for a sorted index listing purposes):
filename:/somewhere1
filename:/somewhere2
Using whatever text decoration (':') you feel makes sense to visually split the fields.