> The problem is that the shell isn't even looking at
> the output of your first command. The shell's fd
> for stdout is simply being copied into the
> subprocess that is running find/aptitude/etc. and
> that is outputing directly to your console.
Thanks, I did not realize how the different parts work together. Actually, I still don't, but now I have some terms to google on.
> You could write a short script or alias to select
> lines that you want so that "aptitude search qt |
> grep ruby | scriptA 2 5" would pull out those two
> lines and put them in a hidden file that can be
> found by a second script. Then "scriptB sudo
> apt-get install" would run the install on every line
> of the file.
That might be a good exercise, I'll try that. Thanks.
---------- Post updated at 05:10 PM ---------- Previous update was at 05:03 PM ----------
I found screen this morning, which does most of what I am looking for:
Screen - Gentoo Linux Wiki
GNU Screen: an introduction and beginner's tutorial || kuro5hin.org