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]

ash does not understand '~'


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

	export PATH=${HOME}:/usr/bin

then the scripts runs. bash has no problems with this.


--- ~/test -------
#!/bin/sh
export PATH=~:/usr/bin
test2

--- ~/test2 -------
#!/bin/sh
echo "test2"


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/


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