X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/12cd178d6eb61306cc99e5e07c463c800d406771..2b9b27c395d75a0c06e7eca65746e5567e459dac:/doc/apt_preferences.5.xml
diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml
index 55504f3e5..b6de039c6 100644
--- a/doc/apt_preferences.5.xml
+++ b/doc/apt_preferences.5.xml
@@ -69,8 +69,8 @@ You have been warned.
Note that the files in the /etc/apt/preferences.d
directory are parsed in alphanumeric ascending order and need to obey the
-following naming convention: The files have no or "pref"
-as filename extension and which only contain alphanumeric, hyphen (-),
+following naming convention: The files have either no or "pref"
+as filename extension and only contain alphanumeric, hyphen (-),
underscore (_) and period (.) characters.
Otherwise APT will print a notice that it has ignored a file if the file
doesn't match a pattern in the Dir::Ignore-Files-Silently
@@ -265,7 +265,7 @@ APT also supports pinning by glob() expressions and regular
expressions surrounded by /. For example, the following
example assigns the priority 500 to all packages from
experimental where the name starts with gnome (as a glob()-like
-expression or contains the word kde (as a POSIX extended regular
+expression) or contains the word kde (as a POSIX extended regular
expression surrounded by slashes).
@@ -277,7 +277,7 @@ Pin-Priority: 500
The rule for those expressions is that they can occur anywhere
-where a string can occur. Those, the following pin assigns the
+where a string can occur. Thus, the following pin assigns the
priority 990 to all packages from a release starting with karmic.
@@ -287,6 +287,7 @@ Pin: release n=karmic*
Pin-Priority: 990
+
If a regular expression occurs in a Package field,
the behavior is the same as if this regular expression were replaced
with a list of all package names it matches. It is undecided whether
@@ -295,7 +296,7 @@ pins first, so later specific pins override it.
The pattern "*" in a Package field is not considered
a glob() expression in itself.
-
+