ash does not understand '~'

Brian Dessent brian@dessent.net
Fri Oct 17 14:10:00 GMT 2003


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/



More information about the Cygwin mailing list