1 |
Thank you. I found out my cute genlop command doesn't work the way I |
2 |
had intended. However, I was able to appreciate and use your little |
3 |
one-liners. Fantastic. |
4 |
|
5 |
In particular, I generated a file with a hybrid of your sed command |
6 |
and my list-to-a-file idea, and edit the lines that didn't work as |
7 |
shown by --pretend. Then I used "cat ... ... ... " to update. |
8 |
|
9 |
Thank you. Now that that's out of the way, maybe, I wonder what else |
10 |
may be stuck due to the date blowup. For sure, there are some config |
11 |
files that the system points out. |
12 |
|
13 |
Thank you again and again, |
14 |
|
15 |
Alan |
16 |
On 1/2/06, Neil Bothwick <neil@××××××××××.uk> wrote: |
17 |
> On Mon, 2 Jan 2006 22:14:27 +1000, Alan E. Davis wrote: |
18 |
> |
19 |
> > genlop just says: |
20 |
> > #genlop --list --date 01/01/2020 01/01/2021 |
21 |
> > Date 2020010100:00:00 is in the future, not good |
22 |
> |
23 |
> The solution to which is obvious, don't give a date in the future. --date |
24 |
> works with a single argument, using the present time as the end time. |
25 |
> |
26 |
> |
27 |
> > I got a list of packages with this: |
28 |
> > |
29 |
> > #genlop --list | grep 2020 |cut -b 38- | emerge >2020list |
30 |
> > |
31 |
> > Is it possible to run emerge using a list of files as input? Or stdin? |
32 |
> |
33 |
> cat somefile | xargs emerge --oneshot --pretend |
34 |
> |
35 |
> or you could do it all in one step with, for example |
36 |
> |
37 |
> genlop --nocolor --list --date last week | grep '>>>' | sed 's/.*>>> /=/' | xargs emerge --oneshot --pretend |
38 |
> |
39 |
> |
40 |
> -- |
41 |
> Neil Bothwick |
42 |
> |
43 |
> Photons have mass? I didn't know they were catholic! |
44 |
> |
45 |
> |
46 |
> |
47 |
|
48 |
-- |
49 |
gentoo-user@g.o mailing list |