From c687cd959206402ddc1032137566818f0fdd9beb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 12 Jan 2018 14:31:49 +0100 Subject: [PATCH] journalctl: make matching optionally case sensitive Case sensitive or case insensitive matching can be requested using --case-sensitive[=yes|no]. Unless specified, matching is case sensitive if the pattern contains any uppercase letters, and case insensitive otherwise. This matches what forward-search does in emacs, and recently also --ignore-case in less. This works surprisingly well, because usually when one is wants to do case-sensitive matching, the pattern is usually camel-cased. In the less frequent case when case-sensitive matching is required with an all-lowercase pattern, --case-sensitive can be used to override the automatic logic. --- src/test/meson.build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/meson.build b/src/test/meson.build index 530163aaf..72fb33d9a 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -434,10 +434,6 @@ tests += [ [], []], - [['src/test/test-procfs-util.c'], - [], - []], - [['src/test/test-unaligned.c'], [], []], -- 2.30.2