]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: add --skip-empty to prevent logging empty lines
authorRainer Gerhards <rgerhards@adiscon.com>
Sat, 7 Mar 2015 11:14:21 +0000 (12:14 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Mar 2015 09:21:15 +0000 (10:21 +0100)
commit82f658c68ca6cb67bdf7bf195b96f9664e0a3a78
tree22fc2737313af3e1e30b9da5dd19f1f7fabb13e9
parente0610aa83114c1521e52dd099d3180d14dcff34e
logger: add --skip-empty to prevent logging empty lines

Empty log messages are generally considered useless. This option
enables to turn them off when processing files (including stdin).

[kzak@redhat.com: - rename --skip-empty-lines to --skip-empty,
                  - add the option to getopt_long(),
                  - add the option to bash-completion]

Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/logger
misc-utils/logger.1
misc-utils/logger.c