Subject: Re: Absolute file-path under bash (cygwin32)
From: [email-masked] (Hawkeye)

16 Apr 1997 04:15:31 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked] (Paul Prescod)
Original-Cc: [email-masked], [email-masked]
In-Reply-To: <[email-masked]> from "Paul Prescod" at Apr 15, 97 07:58:40 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: [email-masked]

> 
> Mikey wrote:
> > 
> > Not from bash.
> > 
> > vim(){
> > vim.exe `dospwd.sh $*`
> > }
> > 
> > try that,it's a little slow ;^), but I think it will work, and you only
> > have to set it up once, in .bashrc.
> 
> Once per non-cygwin executable that you want to use from within bash!
> What if "ld" marked cygwin executables with some sort of magic code?
> Then bash could fix up arguments to non-cygwin executables.

That could only ever work partially, at best.  Filenames aren't
necessarily distinct words in the argument list (consider an option
like "-I/usr/local/include"), and every word in the argument list
shouldn't necessarily be interpeted as a cygwin filename (consider
"echo dir /w >foo.bat").  The only "right" place to interpret filenames
is in the API calls made by an application.

===========================================================================
Ken Keys            [email-masked]            http://tf.tcp.com/~hawkeye/
---------------------------------------------------------------------------
TinyFugue info: http://tf.tcp.com/~hawkeye/tf/
TF version 3.5 beta 4 for UNIX and OS/2 is available at:
  ftp://tf.tcp.com/pub/tinyfugue/ and ftp://ftp.tcp.com/pub/mud/Clients/tf/
TF mailing list: mail to [email-masked], with body "subscribe tinyfugue"
===========================================================================
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".