]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: add --sort <column>
authorKarel Zak <kzak@redhat.com>
Tue, 20 May 2014 13:08:08 +0000 (15:08 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 May 2014 13:12:51 +0000 (15:12 +0200)
commit642048e4a4e059cf5f0c54a2e9e06b398f75748a
treebcf437bc799ad03942f53a7d1598f6ccb9c36bc1
parent57a86f9bff68f24b167df9c571a09c6b89712296
lsblk: add --sort <column>

This implementation allow to sort output by arbitrary output column.

Note that output is always converted to human readable strings, but
sort functions in many cases work with original data (stored as
private data to cells by scols_cell_set_userdata()).

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.8
misc-utils/lsblk.c