Re: find command in cygwin
Igor Pechtchanski wrote: This message is produced by GNU find. "find -name a ." will result in such. Oops. (Crawl under rock..) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: find command in cygwin
On Fri, 29 Apr 2005, Shankar Unni wrote: > lin q wrote: > > > $ find . -type f -print > > find: paths must precede expression > > Usage: find [-H] [-L] [-P] [path...] [expression] This message is produced by GNU find. "find -name a ." will result in such. > > Do you see anything wrong? > > > > $ which find > > /usr/bin/find > > This combo means that you have C:\Windows\System32 in your PATH environment > before C:\cygwin\bin. Either flip these around, or in your .bashrc, prepend > /usr/bin to the PATH. Nope, if "which find" reports /usr/bin/find, /usr/bin/find *is* first in the PATH. > If you had followed http://cygwin.com/problems.html , we might not have to > read minds or use other psychic/telepathic access to debug this.. Since we're talking telepathy here, I'd guess that find is aliased to 'find -mindepth ' (as someone else suggested already). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: find command in cygwin
lin q wrote: $ find . -type f -print find: paths must precede expression Usage: find [-H] [-L] [-P] [path...] [expression] Do you see anything wrong? $ which find /usr/bin/find This combo means that you have C:\Windows\System32 in your PATH environment before C:\cygwin\bin. Either flip these around, or in your .bashrc, prepend /usr/bin to the PATH. If you had followed http://cygwin.com/problems.html , we might not have to read minds or use other psychic/telepathic access to debug this.. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: find command in cygwin
lin q schrieb: > $ find . -type f -print > find: paths must precede expression > Usage: find [-H] [-L] [-P] [path...] [expression] $ find -a . -type f -print find: paths must precede expression Usage: find [-H] [-L] [-P] [path...] [expression] $ $ uname -a CYGWIN_NT-5.1 R1W51 1.5.16(0.128/4/2) 2005-04-25 20:26 i686 unknown unknown Cygwin Don't you redefine find as an aliase or function? Please try $ type find Kazuyuki -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: find command in cygwin
lin q schrieb: > $ find . -type f -print $ find . -type f -print ./.bashrc ./.bash_history ./.bash_profile . . . $ uname -a CYGWIN_NT-5.1 t636 1.5.15(0.127/4/2) 2005-04-18 12:20 i686 unknown unknown Cygwin Everything works as expected here. Which version are you using? Oliver -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
find command in cygwin
Hi, I am having a hard time running find command in cygwin, here is an example, $ find . -type f -print find: paths must precede expression Usage: find [-H] [-L] [-P] [path...] [expression] Do you see anything wrong? $ which find /usr/bin/find Thanks. _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/