delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/09:55:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F8FF485.77EEC825@dessent.net>
Date: Fri, 17 Oct 2003 06:54:13 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ash does not understand '~'
References: <F0D7281DAB048B438E8F5EC4ECEFBDDC174F05 AT esmail DOT elsag DOT de> <3F8FE50C DOT 5DBFA9E7 AT dessent DOT net> <20031017134616 DOT GB9808 AT linux_rln DOT harvest>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
Note-from-DJ: This may be spam

Ronald Landheer-Cieslak wrote:

> > I thought this was resolved by making '/bin/[' a symlink to /bin/test.
> > This gives the appearance of the shell supporting [ ] even though it's
> > really just running a program just as if you had used 'test'.
> How does that take care of the closing `]' ?

Presumably it looks at argv and if invoked as [ it knows to ignore the
closing ].

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019