Quote:
Originally Posted by DNSB
Sorry but that's not a '..' in the sense you are meaning. It is a single '.' with the '.' the operating system (going back to CP/M and inherited by MS-DOS)* uses to distinguish the two parts of the filename (filename.ext) appearing as the second '.'. The filename was stored as 8 bytes of a filename and 3 bytes for the extension.
* Actually, going back even further since Gary Kildall of CP/M borrowed his filenaming conventions.
|
Quote:
Originally Posted by theducks
..\ tells the OS to go up 1 level closer to the root (Win and Linux)
.\ tells the OS to include the current directory name. a dot also separates the files name from the extension. and directories CAN have a dot part (just not common usage in windows)
oh
.filename in Linux are hidden
|
Thanks, but with that explanation, it looks that calibre should never allowed ".." to be in a filename. But it does.
So, I still dont understand how calibre DOES allow this (in blue) :
Hope, Jens R_ Water..2000
(this is a real example)
But it DOES NOT allows this (in red) :
Hope, Jens R
.. Water.. 2000
when using this template code:
Code:
{author_sort}. {title}{:'format_date (raw_field ('pubdate'),'yyyy')'|. |}
with this metadata:
Quote:
Author: Jens R. Hope
Year: 2000
Title: Water.
(please, pay special attention that the title ends up with a dot ".")
|