[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1095160: Disable messages when the apt command is used with pipe



Hi,

On Tue, 04 Feb 2025 20:09:40 +0100 Johannes Schauer Marin Rodrigues
<josch@debian.org> wrote:

> the message is useful. It tells you that you are doing it wrong.

There is nothing wrong here, the shell allows it, I use it.

> 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

Yes, I use that now instead of the `apt` command, it seemed faster
and more practical with the latter.


Reply to: