"Sh" scripting using win-32 aka cygwin32
Sharron D Allen
Wed Jan 31 15:15:00 GMT 2001
Just using '#!/bin/sh' is not adequate because cygwin is a window's
application and our browsers will do
what it thinks is right to interpret a script file.
It would be the correct way to start a script if the script were on a UNIX
With Cygwin files in the C:/ directory are mounted to seem like a UNIX
mount C:/Unix files / (this makes a home directory '/' that has access to
mount C:/ /c (this makes a directory (this makes a directory '/c' that
has access to the C:/)
mount C:/Unix files/bin /bin (this makes a directory '/bin' that has
access to the C:/Unix files/bin)
These are POSIX directories only. Windows will not recognize these
directories. Only cygwin files (can be executed in a DOS window) will.
This email came to
Larry Hall <email@example.com> on 01/31/2001 04:01:34 PM
To: "Sharron D Allen" <Sharron_D_Allen@west.raytheon.com>
Subject: Re: "Sh" scripting using win-32 aka cygwin32
At 05:58 PM 1/31/2001, Sharron D Allen wrote:
>I am currently using software called win-32 aka cygwin32 (a
>cygnus/gnu/windows product). I know
>how everything works except for one thing. I do not know how to call the
>'sh' shell from a file.
>I have a web page/form that posts information to a file called
>Well I want to test this with out having CGI access, if possible.
>What should I do to have my web page/form successfully post information to
>currently my first line in my script is: #!/bin/sh (the actual POSIX
location of 'sh')
>I have tried
Excuse me. I don't know much about CGI but can you tell me why #!/bin/sh
Larry Hall firstname.lastname@example.org
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin