Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Extend the evaluation format documentation. Caveat: I'm not a writer, nor a native speaker. But imho any documentation is better than none ;)
Rolf Grossmann committed 13 years ago
commit d72dcd53a06874bf26c51e5d6fa43f252a790e08
parent c5815f18b0a0003d391b169c0a3f48d664a32409
1 file changed +15 -1
modified pkg/pkg-query.8
@@ -169,6 +169,18 @@ Expands to the list of scripts for the matching packages - install, deinstall, e
Expands to the list of shared libraries used by programs from the matched package.
.El
.Sh EVALUATION FORMAT
+
Packages can be selected by using expressions comparing
+
.Ar Variables
+
(see below) to string or integer values. The mode of comparison is specified
+
by the
+
.Ar Operator
+
(also listed below).
+
Expressions can be combined using && (for and) and || (for or).
+
Parentheses can be used for grouping in the usual manner.
+

+
String values are either any text not containing whitespace (possibly
+
followed by but not including whitespace) or any text enclosed in single or
+
double quotes.
.Ss Variables
.Bl -tag -width F1
.It Cm \&%n
@@ -203,7 +215,9 @@ Integer comparison
.It Cm < Ns Op =
Integer comparison
.It Cm = Ns Op =
-
Integer or string comparison
+
Integer or string equality comparison
+
.It Cm !=
+
Integer or string inequality comparison
.El
.Sh ENVIRONMENT
The following environment variables affect the execution of