Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40703 closed enhancement (fixed)

Sort env vars and print one per line

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.3.0
Component: base Version: 2.2.0
Keywords: Cc: neverpanic (Clemens Lang), cooljeanius (Eric Gallager)
Port:

Description

In debug output, I often want to see what value an environment variable is set to, but it's hard to find the right variable because they're all printed in a single long wrapped line and in random order.

This patch prints one per line and in sorted order.

Any objections?

Attachments (1)

portutil.tcl.diff (439 bytes) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
proposed patch

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: portutil.tcl.diff added

proposed patch

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Type: defectenhancement

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

Yes, please!

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:4 Changed 11 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.3.0

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.