delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/13/02:49:23

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: Re: More on relative pathname
13 Jan 1999 02:49:23 -0800 :
Message-ID: <369B6266.AE2A880E.cygnus.gnu-win32@cityweb.de>
References: <009a01be3d0f$29abeed0$363f9480 AT gtw_nt DOT fnal DOT gov>
Mime-Version: 1.0
To: "Gordon Watts (Brown University)" <gwatts AT fnal DOT gov>, gnu-win32 AT cygnus DOT com

Gordon Watts (Brown University) wrote:
> [...]
> still observe the error. I've included a small shell script below which
> demonstrates the difficulty I'm having. Perhaps I'm making a bone-headed
> unix mistake?
> [...]
> ==============
> #!/bin/sh
> 
> mkdir junk123
> cat > junk123/stuff.sh <<EOF
> #/bin/sh
> echo hi
> EOF
> 
> chmod a+x junk123/stuff.sh
> 
> PATH=./junk123:${PATH}
> export PATH
> 
> echo Will now try to run the thing
> # I get an error on this line
> stuff.sh
> ==========

This script has in fact a typo, but this didn't give any problem, it's
only a shell comment. In my cygwin environment, the complete script did,
what it should do! I'm running NT4SP3, bash is /bin/sh, either snapshot
winsup-981223 or winsup-981230, `CYGWIN=binmode ntea notty', binary mounts.

Regards,
Corinna


-
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