delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/07/12:42:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <71A0F7B0F1F4F94F85F3D64C4BD0CCFE0B638636@bmkc1svmail01.am.mfg>
From: "Parker, Ron" <rdparker AT butlermfg DOT com>
To: cygwin AT cygwin DOT com
Subject: Strange errors from grep pipeline
Date: Tue, 7 Dec 2004 11:40:18 -0600
MIME-Version: 1.0
X-IsSubscribed: yes

Hi,

I am running Windows XP SP2 and am having some strange issues when I use
find...|xargs grep....  For example "find|xargs grep string" yields:

...
(standard input):./butlradv/res/strings.rc
(standard input):./butlrcmn/Debug/string.obj
(standard input):./butlrcmn/Debug/stringlist.obj
(standard input):./butlrcmn/string.cpp
(standard input):./butlrcmn/stringlist.cpp
(standard input):./include/screens/stringid.h
(standard input):./include/string.hpp
(standard input):./include/stringlist.hpp
(standard input):./STLport-4.5.3/src/string_w.cpp
(standard input):./STLport-4.5.3/stlport/BC50/cstring.h
(standard input):./STLport-4.5.3/stlport/BC50/string.h
(standard input):./STLport-4.5.3/stlport/BC50/using/cstring.h
(standard input):./STLport-4.5.3/stlport/cstring
(standard input):./STLport-4.5.3/stlport/stl/debug/_string.h
(standard input):./STLport-4.5.3/stlport/stl/msl_string.h
(standard input):./STLport-4.5.3/stlport/stl/_string.c
(standard input):./STLport-4.5.3/stlport/stl/_string.h
(standard input):./STLport-4.5.3/stlport/stl/_string_fwd.c
(standard input):./STLport-4.5.3/stlport/stl/_string_fwd.h
(standard input):./STLport-4.5.3/stlport/stl/_string_hash.h
(standard input):./STLport-4.5.3/stlport/stl/_string_io.c
(standard input):./STLport-4.5.3/stlport/stl/_string_io.h
(standard input):./STLport-4.5.3/stlport/string
(standard input):./STLport-4.5.3/stlport/string_stlp.h
(standard input):./STLport-4.5.3/stlport/using/cstring
(standard input):./STLport-4.5.3/test/eh/test_string.cpp
(standard input):./STLport-4.5.3/test/regression/string1.cpp
...
grep: ./Butlr3D/DimLine/DimLine_ShiftedDimensionValueAdapter.cpp: No such
file or directory
grep: ./Butlr3D/DimLine/DimLine_ShiftedDimensionValueAdapter.h: No such file
or directory
grep: ./Butlr3D/DimLine/DimLine_TextRepositioner.cpp: No such file or
directory
grep: ./Butlr3D/DimLine/DimLine_TextRepositioner.h: No such file or
directory
grep: ./Butlr3D/DimLine/DimLine_ValueAdapter.cpp: No such file or directory
grep: ./Butlr3D/DimLine/DimLine_ValueAdapter.h: No such file or directory
grep: ./Butlr3D/DimLine/DimLine_ValueAdapterForSelectionObjectDimension.cpp:
No such file or directory
grep: ./Butlr3D/DimLine/DimLine_ValueAdapterForSelectionObjectDimension.h:
No such file or directory
...

If I use "find -print0|xargs -0 grep string" I get nothing at all and "find
-print0|xargs -0 grep -v string" produces nothing as well.

Any ideas or help at all would be appreciated.

-- 
Ron Parker
Butler Manufacturing Company

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019