Project

General

Profile

Actions

Bug #8972

closed

zfs holds: In scripted mode, do not pad columns with spaces

Added by Prakash Surya almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2018-01-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

'zfs holds -H' does not properly output content in scripted mode. It uses a tab instead of two spaces, but it still pads column widths with spaces when it should not.

Before:

 $ /sbin/zfs holds -Hp zstore/svn/base@r325191
zstore/svn/base@r325191 testing                         1509498917
zstore/svn/base@r325191 testing_long_tag_name_here      1509499027

After:
 $ ./zfs holds -Hp zstore/svn/base@r325191
zstore/svn/base@r325191 testing 1509498917
zstore/svn/base@r325191 testing_long_tag_name_here      1509499027

Actions

Also available in: Atom PDF