]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: (filter) normalize param strings
authorKarel Zak <kzak@redhat.com>
Mon, 23 Oct 2023 20:34:18 +0000 (22:34 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:47 +0000 (22:25 +0100)
commit56aad5a88467f3388e5559e717de5b64160478d7
tree6bf40ffcba72ebcf03da47e4d9378e64a5c6dffe
parentb2da3f00a480622af5697d54aaa97d2c41c2c20a
libsmartcols: (filter) normalize param strings

Let's ignore space at the beginning and end of the string. It's
possible that filling functions in applications use extra space to
align data in columns. We need to ignore it.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/filter-param.c
libsmartcols/src/filter.c