delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/15/22:38:06

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: bash -s from .bat file
15 Jul 1998 22:38:06 -0700 :
Message-ID: <19980715164705.26747.rocketmail.cygnus.gnu-win32@send1e.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Earl Chew <earl AT hpautodb DOT aus DOT hp DOT com>
Cc: gnu-win32 AT cygnus DOT com

---Earl Chew <earl AT hpautodb DOT aus DOT hp DOT 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 AT yahoo DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019