[Top][All Lists]
[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:14:45 -0500 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Thierry Vignaud <address@hidden> wrote:
> $ perl -e 'system("[", "1", "=", "1", "]")'
> $ perl -e 'system("/usr/bin/[", "1", "=", "1", "]")'
> /usr/bin/[: too many arguments
> $ perl -e 'system("/usr/bin/[", "1", "=", "1")'
Just as an aside, you can save some typing:
$ env [ 1 = 1 ]
$ env /usr/bin/[ 1 = 1 ]
/usr/bin/[: too many arguments
$ env /usr/bin/[ 1 = 1
$ env test --version
test (GNU coreutils) 5.0
Written by FIXME: ksb and mjb.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
paul