Subject: Re: bash -s from .bat file
From: [email-masked] (Earnie Boyd)

15 Jul 1998 22:38:06 -0700
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: Earl Chew <[email-masked]>
Cc: [email-masked]

---Earl Chew <[email-masked]> 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----
[email-masked]
------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
"[email-masked]" with one line of text: "help".