This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strange errors from grep pipeline


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]