Re: Why /bin/[
Hello! On Mon, Feb 06, 2006 at 09:00:59PM -0800, [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ There's been enough explanation. Just another thing: [ (AKA test) is a shell builtin in many shells today. But there still *might* be shells around for which this isn't (yet) the case. It's probably the same rationale for there being a kill binary even though most shells implement kill as builtin today. Kind regards, Hannah.
Why /bin/[
Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Tim B Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Why /bin/[
Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Have you tried 'man [' ? -- 'And you've got 10 gig of files to put through our mail system?' I ask, squeezing my mouse in a non-approved manner. -- BOFH, 2006-01
Re: Why /bin/[
On Mon, Feb 06, 2006 at 09:00:59PM -0800, [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Ever wondered why: if [ -x some/file ] then echo file executable fi works in /bin/sh? -- Brett Lymn
Re: Why /bin/[
On Tuesday 07 February 2006 05:00, [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Tim B Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Did you do a man [ ? --STeve Andre'
Re: Why /bin/[
Brett Lymn wrote: Ever wondered why: if [ -x some/file ] then echo file executable fi works in /bin/sh? Actually [ in sh is a shell-builtin, but apart from that that's what it's about. Additionally: ls -li '/bin/test' '/bin/[' # Han
Re: Why /bin/[
On Mon, 6 Feb 2006 [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ man [ will explain everything. :) --Bart
Re: Why /bin/[
Interesting. I see that man calls it test(1) but searching the online man pages for [ doesn't find it. On Mon, Feb 06, 2006 at 09:00:59PM -0800, [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Ever wondered why: if [ -x some/file ] then echo file executable fi works in /bin/sh? -- Brett Lymn Tim B [EMAIL PROTECTED] Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Why /bin/[
It's a digital phone for left-handed people. [EMAIL PROTECTED] wrote: Why is there a file called [ in the /bin directory of my generic 3.8 build? 144 -r-xr-xr-x 2 root bin 72128 Sep 10 15:18 [ Tim B Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com