Ось повний опис формату файлу описів.
Дякую.
Код:
****************************************************************************
** DESCRIPTION FILE FORMAT **
****************************************************************************
Filename: descript.ion
Hardcore definition:
<descriptionfile> ::= <line>*
<line> ::= <filename><separationString><description><EOL>
<filename> ::= <anythingExceptSeparationString>+
<separationString> ::= defined by the $separationString variable, default "\t
<description> ::= <anyting>+
<EOL> ::= "\r\n" | "\n" // OS dependent
Simple example:
. This directory contains downloadable files for MyProgram 12.0.
myprogram_12.0.exe Installer version of MyProgram 12.0 (recommended)
myprogram_12.0.zip Zip file distribution of MyProgram 12.0
releasenotes.txt Release notes for MyProgram 12.0
Please note that the room between the filename and the description is not
filled with multiple spaces, but with one single tab. It doesn't matter if
the descriptions in a file align or not, just use one tab.
If you use a description for the current directory (.) as in the first line
in the above example, it will be used as a heading in the directory listing.
Put your descriptions in a text file within the same directory as the files
to describe.
To make it even easier: For my download folder at
http://www.bitfolge.de/download, I have put the description file at
http://www.bitfolge.de/download/descript.ion
You can download it and use it as another example.
Filenames in the description file are case insensitive as of 1.2.10. This
means that myprogram.zip and MyProgram.ZIP both are regarded as the same
file.