Project

General

Profile

Actions

Bug #2574

closed

mdb needs ::printf

Added by Joshua M. Clulow over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-03-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Bryan Cantrill has implemented an MDB dcmd to allow members of an object to be output using a printf(3C)-like format string. This bug seeks to integrate that feature.

Usage example:

::walk zone |
    ::printf "%-40s %20s\n" zone_t zone_name zone_nodename

Upstream: https://github.com/joyent/illumos-joyent/commit/25bb86808d5e85776fcd3035a67d35412ca5fcdb

Actions #1

Updated by Rich Lowe about 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in r13723 commit:3297c26a553a

Actions

Also available in: Atom PDF