maintainer-feedback requested: [Bug 284538] ports-mgmt/pkg: The option '-o' in command version
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284538] ports-mgmt/pkg: The option '-o' in command version"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 20:44:30 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 284538: ports-mgmt/pkg: The option '-o' in command version https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284538 --- Description --- the command pkg version -o -l '<' shows the stale packages using ports name. The resulting rows shows category/port < category/port < ... the space between the port name and the '<' character is fixed, if the name is longer than the padding the name and '<' character are not separated by a space, resulting in an effort to parse the output: category/port < category/very-long-port-name< this does not happen using package names (omitting '-o' option). This is changed from version 2.x.x (I guess). I have a script that formats the result of command above and stop working for ports longer than the padding space. This is an example: ... suitesparse-config 7.8.2_1 7.8.3_1 stale suitesparse-umfpack 6.3.4 6.3.5_1 stale multimedia gstreamer1-libav 1.24.11 1.24.12 stale gstreamer1-plugins-core< stale gstreamer1-plugins-dts 1.24.11 1.24.12 stale gstreamer1-plugins-dvdread< stale gstreamer1-plugins-good< stale gstreamer1-plugins-resindvd< stale gstreamer1-plugins-theora< stale gstreamer1-plugins-ugly< stale gstreamer1-plugins-v4l2< stale net glib-networking 2.80.1 2.80.1_1 stale security py-cryptography 42.0.8_5,1 42.0.8_6,1 stale ...