Thank you.  I found out my cute genlop command doesn't work the way I
had intended.  However, I was able to appreciate and use your little
one-liners.  Fantastic.

In particular, I generated a file with a hybrid of your sed command
and my list-to-a-file idea, and edit the lines that didn't work as
shown by --pretend.  Then I used "cat ... ... ... " to update.

Thank you.  Now that that's out of the way, maybe, I wonder what else
may be stuck due to the date  blowup.  For sure, there are some config
files that the system points out.

Thank you again and again,

Alan
On 1/2/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Mon, 2 Jan 2006 22:14:27 +1000, Alan E. Davis wrote:
>
> >  genlop just says:
> > #genlop --list --date 01/01/2020 01/01/2021
> > Date 2020010100:00:00 is in the future, not good
>
> The solution to which is obvious, don't give a date in the future. --date
> works with a single argument, using the present time as the end time.
>
>
> > I got a list of packages with this:
> >
> > #genlop --list | grep 2020 |cut -b 38- | emerge >2020list
> >
> > Is it possible to run emerge using a list of files as input?  Or stdin?
>
> cat somefile | xargs emerge --oneshot --pretend
>
> or you could do it all in one step with, for example
>
> genlop --nocolor --list --date last week | grep '>>>' | sed 's/.*>>> /=/' | 
> xargs emerge --oneshot --pretend
>
>
> --
> Neil Bothwick
>
> Photons have mass? I didn't know they were catholic!
>
>
>

-- 
[email protected] mailing list

Reply via email to