From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RDrfw-00014k-Vb for garchives@archives.gentoo.org; Wed, 12 Oct 2011 05:48:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBD3921C11A; Wed, 12 Oct 2011 05:47:47 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id D765921C0ED for ; Wed, 12 Oct 2011 05:45:58 +0000 (UTC) Received: (qmail invoked by alias); 12 Oct 2011 05:45:57 -0000 Received: from p54850B42.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.11.66] by mail.gmx.net (mp057) with SMTP; 12 Oct 2011 07:45:57 +0200 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX1/EXsFmOPrEjseIL7Kl6loOTSKXhxANYm8CK5L1hN sT+R2ShuWKb8JD Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Wed, 12 Oct 2011 07:45:58 +0200 (CEST) Date: Wed, 12 Oct 2011 07:45:57 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] "/usr/bin/[" and coreutils Message-ID: <20111012054557.GA2859@solfire> References: <1318397707.15637.3.camel@moriah> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1318397707.15637.3.camel@moriah> User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 167deec88b182780b2f46714d7a4d2d9 William Kenworthy [11-10-12 07:40]: > 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! > > BillK > > Hi Wiiliam, this is a convenient 'abbreviation' or 'alias' for cobnstructs such this one if [ foo ] then bar fi in shell scripting. Most shells have implemented this as a builtin (and 'test' also) though. HTH! Best regards, mcc