Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread Willie Wong
On Sat, Jul 10, 2010 at 06:52:35AM +0200, Enrico Weigelt wrote:
 is there an option to revdep-rebuild to only do output if it has 
 something to rebuild ? This should be run via cron to notify me
 via email.

Usually is there an option... questions are well-answered by man
program name. And in this case the closest thing from the man page
is the -q option, which doesn't do exactly what you want. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread YoYo Siska
On Sat, Jul 10, 2010 at 05:11:49AM -0400, Willie Wong wrote:
 On Sat, Jul 10, 2010 at 06:52:35AM +0200, Enrico Weigelt wrote:
  is there an option to revdep-rebuild to only do output if it has 
  something to rebuild ? This should be run via cron to notify me
  via email.
 
 Usually is there an option... questions are well-answered by man
 program name. And in this case the closest thing from the man page
 is the -q option, which doesn't do exactly what you want. 
 
 Cheers, 

revdep-rebuild --help
...
 -p, --pretendDo a trial run without actually emerging anything
   (also passed to emerge command)


it would basically show you what would be emerged...
-q and -P might be usefull to get rid of unwated output...

yoyo





Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread Neil Bothwick
On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:

 is there an option to revdep-rebuild to only do output if it has 
 something to rebuild ? This should be run via cron to notify me
 via email.
 
There is the --quiet option, but this doesn't remove everything. You
could try redirecting stderr and stdout to see what goes where, or just
pipe the output through sed.


-- 
Neil Bothwick

Hm..what's this red button fo|'».'NO CARRIER


signature.asc
Description: PGP signature


Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread Blackdream W
revdep-rebuild -pv

2010/7/10 Neil Bothwick n...@digimed.co.uk

 On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:

  is there an option to revdep-rebuild to only do output if it has
  something to rebuild ? This should be run via cron to notify me
  via email.

 There is the --quiet option, but this doesn't remove everything. You
 could try redirecting stderr and stdout to see what goes where, or just
 pipe the output through sed.


 --
 Neil Bothwick

 Hm..what's this red button fo|'» .'NO CARRIER



Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread Enrico Weigelt
* Neil Bothwick n...@digimed.co.uk wrote:
 On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:
 
  is there an option to revdep-rebuild to only do output if it has 
  something to rebuild ? This should be run via cron to notify me
  via email.
  
 There is the --quiet option, but this doesn't remove everything. You
 could try redirecting stderr and stdout to see what goes where, or just
 pipe the output through sed.

Right, -q still gives too much output :(
I'd prefer letting portage do everything, instead of maintaining
an additional wrapper ;-o


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



[gentoo-user] revdep-rebuild + minimal output

2010-07-09 Thread Enrico Weigelt

Hi folks,


is there an option to revdep-rebuild to only do output if it has 
something to rebuild ? This should be run via cron to notify me
via email.


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--