Dave Knopp wrote:


emerge pkg 2>&1 | tail -200 >logfile


However, when doing something like: $ emerge -u --deep world Grabbing only the last few lines would only apply to the last package.

Yes, it's true, but IMHO it's quite sufficient, because normally u need to read it only in case of error, which is at the end AFAIK.

If u really like to play with such script, u can run "emerge -p world"
first and then atomize it into particular pkgs.

Another way is to pipe output to  grep with "-A" and/or "-B" switches,
but I really don't know the pattern which should be searched :-(.
If u know it ...

noro

--
[EMAIL PROTECTED] mailing list



Reply via email to