This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
__[[__ operator in bash ?
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: __[[__ operator in bash ?
- From: "Jean-Paul Gabrielli" <Jean-Paul dot Gabrielli at sema dot fr>
- Date: Tue, 8 Feb 2000 15:49:51 +0100
- Reply-To: <Jean-Paul dot Gabrielli at sema dot fr>
Hi,
What to put as first line (#!) to give bash the 'posix' behavior ?
I did a copy of bash under /usr/bin for portability reasons
When I got the following script:
#!/usr/bin/sh
if [[ -d /winnt ]] ; then
echo "Found Folder!"
fi
jpgnt-tstvsn9 > test.shl
[[: not found
jpgnt-tstvsn9 > bash test.shl
Found Folder!
Thanks for helping
j-paul gabrielli
sema dts
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com