Date: Mon, 03 Feb 2025 20:44:30 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284538] ports-mgmt/pkg: The option '-o' in command version Message-ID: <bug-284538-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284538 Bug ID: 284538 Summary: ports-mgmt/pkg: The option '-o' in command version Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: paolo.enriello@hotmail.com Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org 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 f= or 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<=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 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 ... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284538-7788>