revdep-rebuild + minimal output
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: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- |
revdep-rebuild + minimal output
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 wwong@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton |
revdep-rebuild + minimal output
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, --pretend Do 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 |
revdep-rebuild + minimal output
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 |
revdep-rebuild + minimal output
revdep-rebuild -pv
2010/7/10 Neil Bothwick <neil@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 |
revdep-rebuild + minimal output
* Neil Bothwick <neil@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: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- |
| All times are GMT. The time now is 07:07 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.