chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36f5ace
)
Document "...|..." udev match syntax
author
Andrei Borzenkov
<arvidjaar@gmail.com>
Sun, 24 Aug 2014 07:11:33 +0000
(11:11 +0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 27 Aug 2014 05:00:56 +0000
(
01:00
-0400)
man/udev.xml
patch
|
blob
|
history
diff --git
a/man/udev.xml
b/man/udev.xml
index db729378c5c81c4534c5c2e67296668ee65493ca..2948b9ce2bdc75d1e936ae6b74a97a43b8ecceae 100644
(file)
--- a/
man/udev.xml
+++ b/
man/udev.xml
@@
-272,8
+272,8
@@
</varlistentry>
</variablelist>
</varlistentry>
</variablelist>
- <para>Most of the fields support shell glob pattern matching
. The following
-
pattern
characters are supported:</para>
+ <para>Most of the fields support shell glob pattern matching
and
+
alternate patterns. The following special
characters are supported:</para>
<variablelist>
<varlistentry>
<term><literal>*</literal></term>
<variablelist>
<varlistentry>
<term><literal>*</literal></term>
@@
-300,6
+300,14
@@
any characters not enclosed are matched.</para>
</listitem>
</varlistentry>
any characters not enclosed are matched.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>|</literal></term>
+ <listitem>
+ <para>Separates alternative patterns. For example, the pattern string
+ <literal>abc|x*</literal> would match either <literal>abc</literal>
+ or <literal>x*</literal>.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>The following keys can get values assigned:</para>
</variablelist>
<para>The following keys can get values assigned:</para>