This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash -s from .bat file
- To: Earl Chew <earl at hpautodb dot aus dot hp dot com>
- Subject: Re: bash -s from .bat file
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 15 Jul 1998 09:47:05 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
- Reply-To: earnie_boyd at yahoo dot com
---Earl Chew <earl@hpautodb.aus.hp.com> wrote:
>
> : Your stated problem on the directories can be solved like this:
> :
> : bash#> cd /
> : bash#> ln -s //x/a a
> :
> : now when you do `sh -s /a/b/c/foo.sh %1' it should be able to find
it
> : because //x/a is symbolicly linked to a.
>
> This is probably true (I haven't tried it yet), but doesn't really
> answer the question why foo.bat containing
>
> sh -s %1 < \a\b\c\foo.sh
>
> run from a Win32 command shell doesn't work on b19.
>
It is most likely because sh which is a port of linuxes ash ends up
trying to open abcfoo.sh instead of \\a\\b\\c\\foo.sh.
==
- \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd@yahoo.com--
------ooo0O--O0ooo-------
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".