On Tue, Oct 11, 2011 at 10:35 PM, William Kenworthy <bi...@iinet.net.au> wrote:
> I have been checking my system for some deep seated problems and in the
> process, ran across the fact that "equery files sys-apps/coreutils-8.7"
> shows a file included called "/usr/bin/[" - thats right, left square
> bracket!
>
> Is that a bug or if real, what would you use it for?  It doesnt seem to
> be on the file system ...
>
> moriah ~ # /usr/bin/[
> /usr/bin/[: missing `]'
> moriah ~ #
>
> doesnt show much!

'/usr/bin/[' is a synonym for the '/usr/bin/test' utility. It's used
in shell scripts like

if [ -f /etc/passwd ] ; then
  ...

So don't worry. It's supposed to be there.
-- 
Manuel A. McLure WW1FA <man...@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft

Reply via email to