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 1RELWX-0001H2-El for garchives@archives.gentoo.org; Thu, 13 Oct 2011 13:40:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03D2E21C09C; Thu, 13 Oct 2011 13:40:11 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 2456B21C0EF for ; Thu, 13 Oct 2011 13:38:08 +0000 (UTC) Received: by wyf19 with SMTP id 19so2242615wyf.40 for ; Thu, 13 Oct 2011 06:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ELR0CWGIBa39iiny55508ZHjS1vCyb7/s5/aPuGCBns=; b=H+XupLHEGr6nHceF9Fgxi/dmUHhmaF2vx5s73V46E5wMzU6oBcxMPgiDDkEYGNyeDA /JE5bzRDdIdPaUUL7EUdMgdjcM2nGw5//cgIcmzU6hrRaQl7ghpKd+7WnugUwvW2Tg8x GeMDMN043vp333Lc0hHrPBppP0OtTqjqneECI= 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 Received: by 10.216.190.131 with SMTP id e3mr1330917wen.48.1318513088270; Thu, 13 Oct 2011 06:38:08 -0700 (PDT) Received: by 10.216.6.195 with HTTP; Thu, 13 Oct 2011 06:38:08 -0700 (PDT) In-Reply-To: <20111012184927.44ed070b@toxic.dbnet> References: <1318397707.15637.3.camel@moriah> <20111012184927.44ed070b@toxic.dbnet> Date: Thu, 13 Oct 2011 15:38:08 +0200 Message-ID: Subject: Re: [gentoo-user] "/usr/bin/[" and coreutils From: =?UTF-8?Q?Jes=C3=BAs_J=2E_Guerrero_Botella?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 234a86b7f47809ccfaa6f597a57453ff Yes, it's a different binary, and it's perfectly usual to find it in a Linux system. But note that, at least in bash, you rarely will be using /usr/bin/[ unless you reference it using the full path (either in a relative or absolute way). This is because bash has a builtin that takes over that binary file. You can check that (or any other command) by using the "type" instruction (again, this is for bash). # LC_ALL=3DC type [ [ is a shell builtin The same goes for 'test'. Those binaries are probably there just in case that some init or system script written for a standard bourne shell (like the busybox one) needs it. But don't take my word for it. I am not sure right now. --=20 Jes=C3=BAs Guerrero Botella