diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-01-12 14:31:49 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:50:22 +0200 |
commit | c687cd959206402ddc1032137566818f0fdd9beb (patch) | |
tree | 69921b0065e58ce86bfe096fefd2361205417387 /src/test | |
parent | 766ca0d270976412d9c414a5ec2ea13172557e99 (diff) |
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.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/meson.build | 4 |
1 files changed, 0 insertions, 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'], [], []], |