Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#40703 closed enhancement (fixed)

Sort env vars and print one per line

Reported by: ryandesign (Ryan 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)


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 Schmidt) 8 years ago.
proposed patch

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by ryandesign (Ryan Schmidt)

Attachment: portutil.tcl.diff added

proposed patch

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

Type: defectenhancement

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

Cc: cal@… added

Yes, please!

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

Resolution: fixed
Status: newclosed

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

Milestone: MacPorts FutureMacPorts 2.3.0

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

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.