This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Why doesn't "find .|grep aword" work?
- From: km4hr <km4hr at netscape dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 6 Jul 2009 10:13:12 -0700 (PDT)
- Subject: Why doesn't "find .|grep aword" work?
Do pipes work in cygwin in the usual way?
Why doesn't the following command works on HP Unix? Why not cygwin?
find .|grep "hello"
I get no output from this command even though I'm sure the word "hello" is
in some files.
What I want this command to do is find all files in all sub-directories and
pipe the output to grep. Grep then looks in each file for the word "hello".
The names of files that contain the word "hello" should be returned.
thanks.
--
View this message in context: http://www.nabble.com/Why-doesn%27t-%22find-.%7Cgrep-aword%22-work--tp24359078p24359078.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple