This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ash does not understand '~'


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]