On Thu, 13 Jul 2023 02:16:13 -0500, Dale wrote:

> > Then run
> >
> > emerge --options @world -p --color y | sed -f packages.script
> >
> > It highlights any of the packages in your file in bright red. See
> > https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 for a
> > list of colour options.

> Like Wol's idea, that's a extra step.  I was wanting it to just do it
> when running emerge -auDN world with no additional steps except creating
> the file for the package list. 

That is the only extra step, unless you mean that you have to run with -p
to see the highlighted output. That takes a lot less time than you have
invested in this so far.

Actually, I've checked and you can run this with --ask instead or -p, so
no extra steps involved. The only limitation is that you don't see the
Y/n prompt at the end of the ask output. Create an alias to the command,
or wrap it in a script that also runs the sed command first and the
number of extra steps becomes exactly zero.


-- 
Neil Bothwick

The considered application of terror is also a form of communication.

Attachment: pgpdsS9iwJzLS.pgp
Description: OpenPGP digital signature

Reply via email to