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" out-
put more closely using an editor.
On Thu, Feb 24, 2022 at 6:47 AM Dr Rainer Woitok
<rainer.woitok@gmail.com> 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 to merge these packages and then to inspect the "emerge" out- put more closely using an editor.
Wouldn't it be more appropriate to use -p in this case, which will
require no input?
I haven't dug into the man page, but I'm sure there are also options
that are more intended to make the output more suitable for
parsing/etc.
...
Wouldn't it be more appropriate to use -p in this case, which will
require no input?
I haven't dug into the man page, but I'm sure there are also options
that are more intended to make the output more suitable for
parsing/etc.
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 use script for that purpose and it works great, the output is
complete and I can just say no and its all there.
...
I'm guessing any proposed solution would fail when what you want to
capture has an interactive component like this.
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 "sys-apps/util-linux" which belongs to "@system", so it SHOULD
be on my USB stick. Like "cmp" and "diff" from package "sys-apps/diff- utils" which belong to "@system" too, but which were NOT on my USB stick
when I used it to install my current system about three years ago, or at least they were not in "PATH" (I then didn't frantically need these, so
I didn't really search for them).
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 376 |
Nodes: | 16 (2 / 14) |
Uptime: | 25:16:43 |
Calls: | 8,035 |
Calls today: | 5 |
Files: | 13,034 |
Messages: | 5,829,274 |