Gentoo Archives: gentoo-user

From: Mikko Husari <husku@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Simplistic bash-script to manage package.use
Date: Sat, 12 Jul 2008 22:01:09
Message-Id: 487929A2.1040806@husku.net
In Reply to: Re: [gentoo-user] Simplistic bash-script to manage package.use by Gentoo User
1 Gentoo User wrote:
2 > Hi,
3 >
4 > the question is: is it really necessary? If I want to add a new entry
5 > into this file I just call echo "category/package myflags" >>
6 > /etc/portage/package.use and if I want to edit them I just call my
7 > favorite editor, use its search capabilities and change the line.
8 > So I don't really see the benefit of a command line tool, since I
9 > still need to write flags, package and everything and the tools I'm
10 > using now (mostly echo, grep and vim) to do this are not very
11 > complicated and most of the typing goes to the use flags and package
12 > name anyway.
13 >
14 >
15 > Just my opinion.
16 >
17 >
18 > Best regards
19 >
20 > Geralt
21 >
22 >
23 > On 7/12/08, Mikko Husari <husku@×××××.net> wrote:
24 >
25 >> greetings earthlings,
26 >>
27 >> i did not found (nor did i look for long enough) any tools/scripts to
28 >> easily manage package.use file, so i did my own. now i started to think
29 >> that, if there really is not any, my creation would be sufficient (although
30 >> possibly buggy) for most users who wish to have "easy" control over
31 >> package.use.
32 >>
33 >> yes, i know this is not the best place to "announce" but, this is not an
34 >> real announcement, this is an query for an superior solution which would
35 >> show my creation to be useless/dublicate/stupid. (if mine is useless/stupid
36 >> it would be nice, so i would not have to maintain it and i also could use
37 >> some real software).
38 >>
39 >> -- husku
40 >>
41 >>
42 >>
43 well, i cant argue with you on that. although, i also used
44 vim,grep,sed,echo to change my flags. still i felt i needes an easier
45 way, thats why i wrote it and thats why i think this is "easier" than
46 vim+handwork. basicly that script is only an interface to sed,echo,grep
47 and equery.
48
49 did you try to use it? id bet i could get changes applied much more
50 rapidly with that script than with vim or echo. (can not necessarily
51 compete with echo if you are sure it is an new addition)
52 --
53 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Simplistic bash-script to manage package.use Gentoo User <usr.gentoo@××××××××××.com>