Bash syntax with native NT commands

Glen Coakley gcoakley@mqsoftware.com
Mon Jun 4 17:04:00 GMT 2001


> 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



More information about the Cygwin mailing list