public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: bash -s from .bat file
@ 1998-07-15  9:48 Earnie Boyd
  1998-07-15 20:50 ` Earl Chew
  1998-07-20 14:18 ` bash -s from .bat file Michael Hirmke
  0 siblings, 2 replies; 8+ messages in thread
From: Earnie Boyd @ 1998-07-15  9:48 UTC (permalink / raw)
  To: Earl Chew; +Cc: gnu-win32

---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".

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-07-20 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-15  9:48 bash -s from .bat file Earnie Boyd
1998-07-15 20:50 ` Earl Chew
1998-07-16 14:33   ` Mikey
1998-07-19 17:42     ` Earl Chew
1998-07-16 17:13   ` Larry Hall
1998-07-17 18:55     ` B19.1 for Power PC Gerhard G. Thallinger
1998-07-20 18:29     ` Problem with my code Marcel R.
1998-07-20 14:18 ` bash -s from .bat file Michael Hirmke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).