]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/journalctl.xml
journalctl: regexp matching
[thirdparty/systemd.git] / man / journalctl.xml
index 257ff5a8168d3a16dd3592f18bf6b7e1417986b4..91cd4714d5fa091ade74ffdbd1f93c10091864e4 100644 (file)
         priorities.</para></listitem>
       </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>