From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KHyy1-00019B-10 for garchives@archives.gentoo.org; Sun, 13 Jul 2008 10:38:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A05BDE02E6; Sun, 13 Jul 2008 10:38:07 +0000 (UTC) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.243]) by pigeon.gentoo.org (Postfix) with ESMTP id 79C1EE02E6 for ; Sun, 13 Jul 2008 10:38:07 +0000 (UTC) Received: by ag-out-0708.google.com with SMTP id 31so6093696agc.10 for ; Sun, 13 Jul 2008 03:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bo1ZZbCqiEs6IaFQ0zFHb6V5BQGi59/eWLDCD1anOy0=; b=cb1I/OqMvYzfK3hi7rtZlJ2pNzuGCv+18C5Q9ksny63vFxScXnO4I6CXS90H8/WSLx VeRtrAWaknWaybOttKUkeh/5rR4M+7fqC8QgTmyDwsR+UfOo1AVxt00Uc29/niwoVkdl OANRL/1Rk/xrirjJ5kZIcNLTKAfAEtBIxzLno= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hHy74agcC+l0IK/3gsXIwXCY3nBfKY0Txjr9v4XW5PZzDUWSa+TNnVwcGaBSE98uVV HDMNSjISngHE/ZTrQrMjOEBJmgu+yTpQyxlHN55MuqEmCpXIJSJ64iyP83A6ZmY5vQH6 dxQCKy8EzDrT78ZhH9JFA+KrI0YeiKcqO0Icw= Received: by 10.90.116.4 with SMTP id o4mr13357204agc.76.1215945487061; Sun, 13 Jul 2008 03:38:07 -0700 (PDT) Received: by 10.90.29.1 with HTTP; Sun, 13 Jul 2008 03:38:07 -0700 (PDT) Message-ID: Date: Sun, 13 Jul 2008 12:38:07 +0200 From: "Gentoo User" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Simplistic bash-script to manage package.use In-Reply-To: <487929A2.1040806@husku.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48791FFC.5040901@husku.net> <487929A2.1040806@husku.net> X-Archives-Salt: 0bf8392c-6d69-48a1-a0a2-47583bb23b5e X-Archives-Hash: 11cace0282856050aabc1fbe1109bbc0 Hi, I don't want to make your work bad. After thinking it over I think it is actually a useful script, because it adds a little bit more security to editing the package.use file (I'm always fearing the day when I'm writing echo "stuff" > /etc/portage/package.use"). But do you know that package.use can also be a directory which can contain several files storing the use flags? Geralt. On 7/13/08, Mikko Husari wrote: > Gentoo User wrote: > > > Hi, > > > > the question is: is it really necessary? If I want to add a new entry > > into this file I just call echo "category/package myflags" >> > > /etc/portage/package.use and if I want to edit them I just call my > > favorite editor, use its search capabilities and change the line. > > So I don't really see the benefit of a command line tool, since I > > still need to write flags, package and everything and the tools I'm > > using now (mostly echo, grep and vim) to do this are not very > > complicated and most of the typing goes to the use flags and package > > name anyway. > > > > > > Just my opinion. > > > > > > Best regards > > > > Geralt > > > > > > On 7/12/08, Mikko Husari wrote: > > > > > > > greetings earthlings, > > > > > > i did not found (nor did i look for long enough) any tools/scripts to > > > easily manage package.use file, so i did my own. now i started to think > > > that, if there really is not any, my creation would be sufficient > (although > > > possibly buggy) for most users who wish to have "easy" control over > > > package.use. > > > > > > yes, i know this is not the best place to "announce" but, this is not > an > > > real announcement, this is an query for an superior solution which would > > > show my creation to be useless/dublicate/stupid. (if mine is > useless/stupid > > > it would be nice, so i would not have to maintain it and i also could > use > > > some real software). > > > > > > -- husku > > > > > > > > > > > > > > > well, i cant argue with you on that. although, i also used > vim,grep,sed,echo to change my flags. still i felt i needes an easier way, > thats why i wrote it and thats why i think this is "easier" than > vim+handwork. basicly that script is only an interface to sed,echo,grep and > equery. > > did you try to use it? id bet i could get changes applied much more rapidly > with that script than with vim or echo. (can not necessarily compete with > echo if you are sure it is an new addition) > -- > gentoo-user@lists.gentoo.org mailing list > > -- gentoo-user@lists.gentoo.org mailing list