Opened 6 months ago

Last modified 6 months ago

#70054 new defect

port echo adds whitespace after port names

Reported by: mohd-akram (Mohamed Akram) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.9.3
Keywords: Cc:
Port:

Description

port echo seems to add a bunch of spaces after every port name. This can trip up some shell pipelines, eg. port echo bash | grep -x bash fails.

Change History (2)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

This is for column alignment when there are versions and variants involved. Use -q if you need just port names.

comment:2 Changed 6 months ago by mohd-akram (Mohamed Akram)

Thanks. I think this still might be worth fixing, trailing spaces are generally undesirable.

Note: See TracTickets for help on using tickets.