Hi, On Tue, 4 Feb 2025 16:57:38 -0000 Pierre Tomon <[email protected]> wrote: > Yes I need to pipe it, I want to do things like: apt list '~o' | cut -d '/' > -f1 | tr '\n' ' ' > > I won't those useless messages.
the message is useful. It tells you that you are doing it wrong. Why don't you
use a tool with an output format that is designed to be consumed by scripts?
apt-cache show "~o" | sed -ne 's/^Package: //p' | xargs
cheers, josch
signature.asc
Description: signature

