AW: ash does not understand '~'

Ralf Habacker Ralf.Habacker@freenet.de
Fri Oct 17 11:48:00 GMT 2003


Hi

> > the following shell script does not work at least with ash-20031007-1
> > although I don't see any reason why this should not be a valid 
> syntax. If
> > you use
> 
> The reason is, '~' is an extension to the bourne shell syntax, first
> defined in csh or tcsh, AFAIK.  ash is a pure bourne shell with next
> to no extensions. Using '~' in a shell script is non-portable.
> 
Thanks, there is always something new to learn :-)

Ralf 


--
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