summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-04-19 08:41:50 +0100
committerPádraig Brady <P@draigBrady.com>2011-03-23 16:44:49 +0000
commit99679fff629f4a624f4fe7a67335c6e90533afc2 (patch)
tree6791dc322532103ccb56d284f2aeac6ca4d9876b /cfg.mk
parent437fcf713c237f45f9504bb8bdc6041f65663b36 (diff)
downloadcoreutils-99679fff629f4a624f4fe7a67335c6e90533afc2.tar.xz
df: fix alignment of columns
* src/df.c (alloc_table_row): A new function to allocate storage for a row of strings. (print_table): A new function to interate over all stored strings in the table, and apply alignment honoring the max width of each column. (get_header): Renamed from print_header, and adjusted accordingly. (get_dev): Renamed from show_dev. Also we no longer wrap longer device names over two lines, which can be an unexpected issue for scripts parsing the output from df. (get_disk): s/show_/get_/ (get_point): Likewise. (get_entry): Likewise. (get_all_entries): Likewise. * NEWS: Mention the change.
Diffstat (limited to 'cfg.mk')
0 files changed, 0 insertions, 0 deletions