|
From: <ar...@de...> - 2003-11-17 17:27:45
|
Nicholas Nethercote <nj...@ca...> writes: > On Mon, 17 Nov 2003, Andrés Roldán wrote: > >> I'm interested in showing the valgrind --help output to STDOUT >> instead of STDERR to pipe it to a pager or something. Can anybody >> tell me what do I need to change? >> >> I used to use an ugly hack of dup2() calls but I think there is >> a better (and prettier) way to do that. > > valgrind --help 2>&1 | more I know. I'm maintaining valgrind for Debian and there is a rule on Debian that says that every large --help message should be on STDOUT instead of STDERR. I'm not asking to include this feature to the main valgring source :) Thanks. > > N -- Andres Roldan Fluidsignal Group <ar...@fl...> The Debian Project <ar...@de...> GIGAX <ar...@gi...> GPG Key-ID 0xB29396EB Home Page http://people.fluidsignal.com/~aroldan |