From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EtQSR-0000WJ-0T for garchives@archives.gentoo.org; Mon, 02 Jan 2006 14:14:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k02EB2Y6022752; Mon, 2 Jan 2006 14:11:02 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k02E8on6004794 for ; Mon, 2 Jan 2006 14:08:51 GMT Received: by zproxy.gmail.com with SMTP id 4so2596005nzn for ; Mon, 02 Jan 2006 06:10:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E+e+CO38/rVXH9ZynXKBqLI4epYSFnTMf7ZnzuWACqYtyA0ITX0SKXvBGSp6fYLpPRah2Yn0TJaXSoE1zOd38KgTuR/Hpi18WecNZPLhzEG1vTpp/ti2NinOsoQnE/6CMEmMkn5vJa2KlPDqlYB2QLXhS6AdYASSNwKfbfDbqiA= Received: by 10.64.241.19 with SMTP id o19mr189632qbh; Mon, 02 Jan 2006 06:10:16 -0800 (PST) Received: by 10.64.199.20 with HTTP; Mon, 2 Jan 2006 06:10:16 -0800 (PST) Message-ID: <7bef1f890601020610h77b0fcb5p492202b5b1fbef71@mail.gmail.com> Date: Tue, 3 Jan 2006 00:10:16 +1000 From: "Alan E. Davis" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] file dates on system totally bodged In-Reply-To: <20060102133207.00a242e5@krikkit.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <7bef1f890601011657xa050126n9e418ebb3a76d9cb@mail.gmail.com> <20060102094525.09423f21@krikkit.digimed.co.uk> <7bef1f890601020414r7a767880nc4eeb0de902d8834@mail.gmail.com> <20060102133207.00a242e5@krikkit.digimed.co.uk> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k02E8on6004794 X-Archives-Salt: c51ba0b7-8694-4eca-a22e-247df3d5af8e X-Archives-Hash: 4646aba04861b11ad95499caaa4f8665 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 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! > > > -- gentoo-user@gentoo.org mailing list