From 35ea8b154b105727cf0a0f0238d51b82a0d7c045 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 15 Aug 2015 15:33:40 +0200 Subject: Document the general effect of the comma operator Closes: #574939 --- doc/apt_preferences.5.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml index be6f12f6a..79132e007 100644 --- a/doc/apt_preferences.5.xml +++ b/doc/apt_preferences.5.xml @@ -254,6 +254,11 @@ Pin-Priority: 500 + +The effect of the comma operator is similar to an "and" in logic: All +conditions must be satisfied for the pin to match. There is one exception: +For any type of condition (such as two "a" conditions), only the last such +condition is checked. -- cgit v1.2.3