This is the mail archive of the cygwin@cygwin.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: Bash syntax with native NT commands


> Earl wrote:
> > 
> > Is there a general set of rules to describe how to quote 
> properly bash
> > syntax with regard to native NT commands and fileystem?
> > 
> > For example, I'm trying to get the NT command FIND to work 
> within BASH:
> > 
> 
> First, let me caution that there exists a UNIX style `find' executable
> your /bin directory also.
> 
> > find /I "text" \\ server\c$\textfile.txt
> > 
> 
> cmd /c find /I "text' \\\\server\\c$\\textfile.txt

I think you meant:

  cmd /c find /I "text" \\\\server\\c$\\textfile.txt

Notice the second double quote.
 
Personally, I find the /bin/find syntax much saner.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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