On Fri, May 23, 2008 at 06:43:50PM +0200, Bernhard R. Link wrote:
> | The format of the formulas is those of the  dependency
> | lines in Debian packages with some extras.  That means

Debian packages' control files, maybe?

> | a formula consists of names of fields with a  possible
> | condition for its content in parentheses.  These atoms
> | can be combined with an exclamation mark '!'  (meaning
> | not),  an pipe symbol '|' (meaning or) and an coma ','
> | (meaning and).  Additionally parentheses can  be  used

Additional, maybe? But Additionally may be correct as well.

> | to change binding.
> |
> | The  values  checked  are  directly the headers in the
> | repspective index file compared alphabetically.   That
> | means that each part Fieldname (cmp value) of the for-
> | mula will be true for exactly those package that  have
> | in  the  Package  or Sources file a line starting with
> | fieldname and a value is alphabetically cmp to  value.

The values given in the search expression are directly alphabetically
compared to the headers in the respective index file.

The second sentence is too long for me to understand.

> | Examples:
> |
> | reprepro  -b  .  listfilter test2 'Section (== admin)'
> | will list all packags in distribtuion  test2  with  an
> | Section field

packages in distribution with a Section field

But the explanation looks wrong, does it mean "with a Section field
exactly equalling "admin""?

> | reprepro  -b  .  -T  deb  listfilter test2 'Source (==
> | blub) | ( !Source , Package (== blub) )' will find all
> | .deb  Packages  with either an Source field blub or no
> | Source field and a Package field  blub.   (That  means
> | all  package  generated  by  an  source  package blub,
> | except those also specifying a version number with its
> | Source).

That's ok. I have especially missed that a comma means "and".

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to