Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Neil Bothwick
On Mon, 14 Jul 2008 02:19:51 +0200, Gentoo User wrote: > > Put "set -o noclobber" in your profile. > Cool, thanks :-) > But is there a way to overwrite an existing file when this option is > enabled? echo "stuff" >|file -- Neil Bothwick IBM - I Blame Microsoft signature.asc Description: P

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Gentoo User
> > (I'm always fearing the day when I'm writing echo "stuff" > > > /etc/portage/package.use"). > > > Put "set -o noclobber" in your profile. Cool, thanks :-) But is there a way to overwrite an existing file when this option is enabled? Geralt -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Neil Bothwick
On Sun, 13 Jul 2008 12:38:07 +0200, Gentoo User wrote: > (I'm always fearing the day when I'm writing echo "stuff" > > /etc/portage/package.use"). Put "set -o noclobber" in your profile. -- Neil Bothwick We are from the planet Taglinis. Take us to your reader! signature.asc Description: PGP

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Alan McKinnon
On Sunday 13 July 2008, Mikko Husari wrote: > i did not know that, (also the script ignores make.conf ). how does > that directory approach work, any documentation about it? man 5 portage see the section "/etc/portage/" -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Mikko Husari
Neil Bothwick wrote: On Sun, 13 Jul 2008 15:50:39 +0300, Mikko Husari wrote: thanks for pointing out better solution. it looks nice and has more features. it would be excellent if it could "guess" the pkg-name with 'emerge -s' like mine does. How about a wrapper script that uses the

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Neil Bothwick
On Sun, 13 Jul 2008 15:50:39 +0300, Mikko Husari wrote: > thanks for pointing out better solution. it looks nice and has more > features. it would be excellent if it could "guess" the pkg-name with > 'emerge -s' like mine does. How about a wrapper script that uses the guessing from your script

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Mikko Husari
Arttu V. wrote: On 7/13/08, Mikko Husari <[EMAIL PROTECTED]> wrote: 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 possibl

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Mikko Husari
Neil Bothwick wrote: On Sun, 13 Jul 2008 00:19:56 +0300, Mikko Husari wrote: greetings earthlings, What about the rest of us? i did not found (nor did i look for long enough) any tools/scripts to easily manage package.use file, % eix flagedit [I] app-portage/flagedit

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Neil Bothwick
On Sun, 13 Jul 2008 00:19:56 +0300, Mikko Husari wrote: > greetings earthlings, What about the rest of us? > i did not found (nor did i look for long enough) any tools/scripts to > easily manage package.use file, % eix flagedit [I] app-portage/flagedit Available versions: 0.0.5 0.0.7

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Arttu V.
On 7/13/08, Mikko Husari <[EMAIL PROTECTED]> wrote: > 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 m

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Mikko Husari
Gentoo User wrote: 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

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-13 Thread Gentoo User
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.us

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Mikko Husari
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

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Gentoo User
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 ben

[gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Mikko Husari
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"