[: too many arguments

Marcus Schuetz biped at comcast.net
Tue Feb 24 13:58:05 UTC 2004


Satish Balay released the following into the bitstream on 02/23/04 22:37:
> 
> On Mon, 23 Feb 2004, Marcus Schuetz wrote:
> 
> 
>>Recently I noticed getting the message "[: too many arguments" when I 
>>use a terminal under gnome (gnome-terminal or aterm) when using external 
>>(not shell) commands (less, etc.). I tried several shells (bash, tcsh, 
>>zsh) and I get this with all of them. I had no luck tracking down the 
>>origin of this message. Anybody else seeing this? How about a solution?
> 
> 
> It appears only with csh/tcsh for me.  The exact error occurs at the
> following line in /etc/csh.cshrc: (verifyable with csh -x /etc/csh.cshrc)
> 
> [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
> 
> It must be a bug in /usr/bin/test (which is same as /usr/bin/[ ) - as
> the message goes away if I downgrade to coreutils-5.0-24 (from FC1).
> 
> Satish
> 
> 
Thanks, that did it

:: Marcus





More information about the test mailing list