Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Neil Bothwick
On Fri, 25 Feb 2022 11:26:34 +0100, Dr Rainer Woitok wrote: > Nice idea. However, I'd like to keep things as simple as possible, be- > cause an important usecase for me is installing a new or fixing an ex- > isting system after booting from a USB stick. The "script" binary is in > package

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Dr Rainer Woitok
Arve, On Friday, 2022-02-25 10:15:18 +0100, you wrote: > ... > I'm guessing any proposed solution would fail when what you want to > capture has an interactive component like this. I think "fail" is the wrong word here. My own scripts send such quest- ions to the same device they retrieve

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Dr Rainer Woitok
John, On Thursday, 2022-02-24 09:59:50 -0500, you wrote: > ... > I use script for that purpose and it works great, the output is > complete and I can just say no and its all there. Nice idea. However, I'd like to keep things as simple as possible, be- cause an important usecase for me is

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Arve Barsnes
On Fri, 25 Feb 2022 at 10:00, Dr Rainer Woitok wrote: > A quick search in the "emerge" manual page for "pars" and "pip" did not > turn up anything I considered relevant. Can anyone give more hints? I'm guessing any proposed solution would fail when what you want to capture has an interactive

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Dr Rainer Woitok
Rich, On Thursday, 2022-02-24 07:10:10 -0500, you wrote: > ... > Wouldn't it be more appropriate to use -p in this case, which will > require no input? Running "emerge -p ..." followed by "emerge ..." without "-p" would run the dependency analysis twice for EVERY package update. Using a

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-24 Thread John Covici
On Thu, 24 Feb 2022 07:10:10 -0500, Rich Freeman wrote: > > On Thu, Feb 24, 2022 at 6:47 AM Dr Rainer Woitok > wrote: > > > > since the output of "emerge -a" might be long, and since on a stock con- > > sole you cannot scroll, I had the idea of piping it into "tee", and in > > case I'm unsure

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-24 Thread Rich Freeman
On Thu, Feb 24, 2022 at 6:47 AM Dr Rainer Woitok wrote: > > since the output of "emerge -a" might be long, and since on a stock con- > sole you cannot scroll, I had the idea of piping it into "tee", and in > case I'm unsure just to say "No" to the question of whether or not I > would like

[gentoo-user] Piping "emerge -a" to some other command

2022-02-24 Thread Dr Rainer Woitok
Greetings, since the output of "emerge -a" might be long, and since on a stock con- sole you cannot scroll, I had the idea of piping it into "tee", and in case I'm unsure just to say "No" to the question of whether or not I would like to merge these packages and then to inspect the "emerge"