This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygnus bugs


Fergus Henderson wrote:
> 
> You still didn't answer the question: how can cygwin know which
> arguments are pathnames?  Finding a correct solution to this
> problem is entirely non-trivial.  If you mean that cygwin should
> treat everything that looks like it might be a pathname as a pathname,
> then that is not a correct solution, and I think an incorrect
> solution is going to cause more problems than it solves.

Quote the ones you don't want converted.

> For example, consider the command `sed /usr/p /usr/p'.
> In that command, the first argument is a sed command, meaning
> "print all lines containing `usr'", while the second argument
> is a file name.

sed '/usr/p' /usr/p

-- 
  ,-/-  __      _  _         $Bill Luebkert
 (_/   /  )    // //       DBE Collectibles
  / ) /--<  o // //      http://www.wgn.net/~dbe/
-/-' /___/_<_</_</_    Email: dbe@wgn.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]