Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: "Pierre Loic Herve" , "Cygwin" Date: Mon, 17 Sep 2001 16:46:32 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: grep -r : permission denied Reply-to: gp AT familiehaase DOT de Message-ID: <3BA628E8.1702.23A45F3A@localhost> In-reply-to: <011001c120c1$dedeb9c0$a27ba8c0@pierlo> X-mailer: Pegasus Mail for Win32 (v3.12cDE) X-Hops: 1 X-Sender: 320081107336-0001 AT t-dialin DOT net Pierre Loic Herve schrieb am 2001-08-09, 12:55: >Hi all, > >I have installed cygwin 2 weeks ago...and it is just GREAT !!! >I have rxvt with a background picture ant it is very SEXY !! > >... but i still have a little problem : > >i have : >//c/pierre> whoami >pierlo > >//c/pierre> ls -al >total 8303 [...] >drwxr-xr-x 3 pierlo 544 0 Aug 1 16:12 toto/ [...] >//c/pierre> grep --recursive Texture * [...] >grep: toto: Permission denied >grep: vim: Permission denied > >QUESTION why cant grep goto in directories ? I have a little wrapper for recursive greps. Call it 'rgrep' and save it to /bin. Now you should be able to call: $ rgrep SaerchTerm rgrep: ====== #!/usr/bin/sh # grep $@ recursive find . -type f -exec grep $@ {} /dev/null \; Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/