Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Piping "emerge -a" to some other command
Date: Thu, 24 Feb 2022 15:00:08
Message-Id: m3ee3scntl.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] Piping "emerge -a" to some other command by Rich Freeman
1 On Thu, 24 Feb 2022 07:10:10 -0500,
2 Rich Freeman wrote:
3 >
4 > On Thu, Feb 24, 2022 at 6:47 AM Dr Rainer Woitok
5 > <rainer.woitok@×××××.com> wrote:
6 > >
7 > > since the output of "emerge -a" might be long, and since on a stock con-
8 > > sole you cannot scroll, I had the idea of piping it into "tee", and in
9 > > case I'm unsure just to say "No" to the question of whether or not I
10 > > would like to merge these packages and then to inspect the "emerge" out-
11 > > put more closely using an editor.
12 >
13 > Wouldn't it be more appropriate to use -p in this case, which will
14 > require no input?
15 >
16 > I haven't dug into the man page, but I'm sure there are also options
17 > that are more intended to make the output more suitable for
18 > parsing/etc.
19 >
20
21 I use script for that purpose and it works great, the output is
22 complete and I can just say no and its all there.
23
24 --
25 Your life is like a penny. You're going to lose it. The question is:
26 How do
27 you spend it?
28
29 John Covici wb2una
30 covici@××××××××××.com