[GE users] qconf help to stderr in u2beta?

templedf dan.templeton at sun.com
Tue Feb 3 20:21:10 GMT 2009


I figured as much.  Don't get me wrong.  It's great that we're finally 
cleaning up the command line tools.  Just be careful about breaking 
people's scripts by changing interfaces, even if they're broken.

Daniel

dagru wrote:
> Hi Dan,
>
> if a command is called not correctly 
> then the help output is redirected to stderr (because it is a 
> not defined switch). If it is called with -help it should be redirected 
> to stdout (so this should work). Also consider the exit code should be
> different. I hope this is for all commands now the same - 
> not like before - they differed heavily. 
>
> Regards, Daniel 
>
> Am Dienstag, den 03.02.2009, 11:59 -0800 schrieb templedf:
>   
>> I just installed the u2 beta, and the first thing I did was qconf | head 
>> -1 to make sure the files had unpacked properly.  Much to my surprise, I 
>> got the full qconf help output.  Looks like the help output now goes to 
>> stderr instead of stdout.  Is that intentional?  The qconf | head -1 
>> thing is a really common way to check the version number (especially 
>> since there's *still* no --version option), and breaking that will 
>> probably break a lot of scripts.
>>
>> Daniel
>>
>> ------------------------------------------------------
>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101753
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>>     
>
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101757
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101758

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list