From: landry@openbsd.org Subject: Re: pkg_add: show -n updates without a progress meter To: ports@openbsd.org Date: Fri, 5 Jun 2026 13:34:13 +0200 Le Fri, Jun 05, 2026 at 12:24:01PM +0200, Kirill A. Korinsky a écrit : > ports@, > > it is changes in base, but I think pkg_add is more related to ports@, so > I've used that mail list. > > I'd like to let pkg_add -Iunx report which packages would be updated, so > scripted dry run checks no longer need progress meter output. > > I have in /etc/daily.local pkg_add -un like check to catch outdated > packages. > > Current pkg_add needs -Iunm and some "magic" to strip progress bar and ESC > codes from output to be useful. > > Suggested version needs only pkg_add -Iunx | grep -v ^quirks- i wont comment on the change itself but that's definitely a welcome addition - i've also been using your "magic" and that feels sooo awkward... most of my daily.local have: syspatch -c pkg_add -Iunm | awk '{ sub(/^.*\r/, "") } 1' | grep -v ^quirks |grep -v ^$