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 1KHn9R-000840-CV for garchives@archives.gentoo.org; Sat, 12 Jul 2008 22:01:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95AD5E0327; Sat, 12 Jul 2008 22:01:07 +0000 (UTC) Received: from mx-node2.seclan.com (mx-node2.seclan.com [81.19.112.79]) by pigeon.gentoo.org (Postfix) with ESMTP id 68BB9E0327 for ; Sat, 12 Jul 2008 22:01:07 +0000 (UTC) Received: from [10.19.112.147] (husku.net [81.19.112.146]) by mx-node2.seclan.com (Postfix) with ESMTP id 8AFFB63B5B for ; Sun, 13 Jul 2008 01:01:06 +0300 (EEST) Message-ID: <487929A2.1040806@husku.net> Date: Sun, 13 Jul 2008 01:01:06 +0300 From: Mikko Husari User-Agent: Thunderbird 2.0.0.14 (X11/20080710) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Simplistic bash-script to manage package.use References: <48791FFC.5040901@husku.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 294c4453-1237-472e-860d-37ac0f0b5285 X-Archives-Hash: a495a1e0687dec8b59c3f38bc80ba7ea 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