From nobody Tue Jul 1 12:30:37 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bWj6l43nGz60L88 for ; Tue, 01 Jul 2025 12:30:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bWj6l3DfZz3wpf for ; Tue, 01 Jul 2025 12:30:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751373039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oIcHodaaAdyvn2aIYFK7Y+54sbb/zyXU9qOZJhTsR1w=; b=XFSxPx/lRYOATbzQ9ukzhk4mY9Vedx4BvDTWQ2UXzmF+MY+7d7MXuu+fey5r2yzuYYxQxE m9HapU0h/ieoAofFb5gE1RC0B3B9lMBwJN7xrFJ2KjrUEcUhWSGLQKBL7RYWg38G6hDnTE Ltu8PYP4c6JwwOds3eqoe935+TX0HysIbiGkb8oGoEOjFUUmiC/3xg6Dw7bcTVdHkwUBSH TuaU+hZGYbaTBFMpMg+rR8N5wFrcSIZBv7i26EkG2ohw1se4Oq1/kLC5y8ugmvL5070stp u0I69IJAMnfmdBURv9xO3aty3uOsT2Kt2WBFvcG0jc3k3KGxGRfbHIaOksBFHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751373039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oIcHodaaAdyvn2aIYFK7Y+54sbb/zyXU9qOZJhTsR1w=; b=YtL4R/5cZPLdJVsHF+ZAGy8pNwBJRyfZTTDfNLNlLKs2no5K2vX815ebmUtTvvqlD2O9Ph 9v70bjzQwli08vF9KgLGS6+munD1jq2Hxo1Crhz0rV3V87/DDztph3NUHQoUs539wjHT52 H1ddQWI8iqk55VmTKAlyjo57xxJw/8G/egBrXsxdbkz62YeXoOSgCQ5sRaCYmB7tyCIDq/ V/jKvXRExo9k+azLVTICQ4nxKkpt1UMx7s6AJ/Kb75feJ7uof57wpCHIJfH4sIw6gNOepc 3X5NNMRB2YkEnk48Ymvhedbu10SIZHiskhzLLduX8eprQPsq4+6ChkpX3LntWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751373039; a=rsa-sha256; cv=none; b=yffp4fQcqDJibOd40Fo+0fkd/LEojYvyBOtp/9aGN+vJvn2cqwEiw4s2OYhPAjUO1+h5ej nwnDHmqYbw4dliFXOL0Tbz2zhNycu4YAKe2xtEPDKhHURm05Cn8fBl5LfQ16KC9MgxxNvM vWRjiqHyHdwJ3VIScsenAc/y/nvVcZS78S1WovFsm/BRd7P43uh47MgmugJOoUZxXxi6EE LhFqRxXFqq2hfKv5tS1vyTFQ3Y+kBMHxY9toEGAb0Xg5kR6ZGP7pI2dZW5IG4GiDVVW8pu bcZGVKyu3UdpHLS4vnlJX/hyPOd0vCiFBCMUqADDlGVtHQ5mLJN+BtdN8MPjYg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bWj6l2n8DzbBP for ; Tue, 01 Jul 2025 12:30:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 561CUdXI065471 for ; Tue, 1 Jul 2025 12:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 561CUdxW065469 for pkg@FreeBSD.org; Tue, 1 Jul 2025 12:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 284538] ports-mgmt/pkg: The option '-o' in command version Date: Tue, 01 Jul 2025 12:30:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erichanskrs@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284538 Eric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erichanskrs@gmail.com --- Comment #1 from Eric --- (In reply to Paolo from comment #0) It seems that using the package name (not using -o) and using the package origin (using -o) are using different output formatting code paths. At least they exibit different behaviour wrt seperating the first output column from= the following limchar. QUOTE I have a script that formats the result of command above and stop working f= or ports longer than the padding space. END_QUOTE A work-around using sed(1) (extend the used character class if needed) may help: [0-0] # pkg -v; date -u 2.2.1 Tue Jul 1 12:11:11 UTC 2025 [1-0] # pkg version -o -l '=3D' -n lsof | sed 's/[<=3D>]$/ &/' sysutils/lsof =3D [2-0] # pkg version -o -l '=3D' -n rubygem-opentelemetry-instrumentation-active_model_serializers | sed 's/[<= =3D>]$/ &/' devel/rubygem-opentelemetry-instrumentation-active_model_serializers =3D This should not harm processing when the error has been resolved. P.S. As far as I can tell pkg v. 2.1.4, using -o, also had the formatting output problem. --=20 You are receiving this mail because: You are the assignee for the bug.=