Subject: Re: CVS commit: pkgsrc/doc/portability-book/files
To: Roland Illig <rillig@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-changes
Date: 10/06/2006 17:31:08
> Log Message:
> Provided a link to the Open Group's utilities web page.
>
> Tested "test foo == bar" with test(1) from the GNU coreutils. It does
> _not_ know the "==" operator.
Thanks for telling us. Now when I report problems to "Linux" developers I
can mention that also!
# /usr/bin/test foo == foo && echo yes
/usr/bin/test: ==: binary operator expected
# /usr/bin/[ foo == foo && echo yes
/usr/bin/[: ==: binary operator expected
# /usr/bin/test foo = foo && echo yes
yes
# /usr/bin/test --version | head -1
test (GNU coreutils) 4.5.3