bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like form


From: Paul Jarc
Subject: Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms
Date: Wed, 07 Jan 2004 19:08:37 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Olivier Delhomme <address@hidden> wrote:
> address@hidden:~$ /usr/bin/\[ --version | head -n1
> [ (GNU coreutils) 5.0.90
>
> address@hidden:~$ [ x = x ] && echo ok
> ok

In the first case, you are using the coreutils "[" command installed
in /usr/bin.  In the second case, you are using the shell's builtin
"[" command, which is not of interest here.

> address@hidden:/vol/coreutils-5.0.91/src$ ./[ --version | head -n1
> [ (GNU coreutils) 5.0.91
>
> address@hidden:/vol/coreutils-5.0.91/src$ [ x = x ] && echo ok
> ok

Again, you are using different commands.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]