summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-12 07:55:45 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-27 13:40:57 +0100
commit6becf48ca3e03cd16d58942b7c8a99f7e49275c5 (patch)
treeea2567cce26c1409639635d8794e3dc8f07b5754 /man/journalctl.xml
parentc4c978a07fede2d2be3c401c4b64b6a12091f34f (diff)
downloadsystemd-6becf48ca3e03cd16d58942b7c8a99f7e49275c5.tar.gz
journalctl: regexp matching
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 257ff5a816..91cd4714d5 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -579,6 +579,17 @@
</varlistentry>
<varlistentry>
+ <term><option>-g</option></term>
+ <term><option>--grep=</option></term>
+
+ <listitem><para>Filter output to entries where the <varname>MESSAGE=</varname>
+ field matches the specified regular expression. PERL-compatible regular expressions
+ are used, see
+ <citerefentry><refentrytitle>pcre2pattern</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ for a detailed description of the syntax.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-c</option></term>
<term><option>--cursor=</option></term>