[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [: too many arguments



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]