bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GREP 2.4.2 - 2.5.1a Recursion Problem


From: Eli Zaretskii
Subject: Re: GREP 2.4.2 - 2.5.1a Recursion Problem
Date: Sat, 04 Aug 2007 21:45:53 +0300

> From: "Alan C" <address@hidden>
> Date: Sat, 4 Aug 2007 11:20:25 -0500
> 
> ***** THIS WORKS
> D:\greptest>tree /f
> Folder PATH listing for volume New Volume
> Volume serial number is 0006FE80 1C4B:1212
> D:.
> ?   test.txt
> ?
> ????level2
>         test.txt
> 
> D:\greptest>grep -ri "testtext" *.txt
> testtext
> 
> 
> ******* THIS FAILS
> ******* CAN'T FIND MATCHES IN SUBFOLDERS
> ******* WITHOUT TOP LEVEL .txt FILE PRESENT
> D:\greptest>tree /f
> Folder PATH listing for volume New Volume
> Volume serial number is 0006FE80 1C4B:1212
> D:.
> +---level2
>         test.txt
> 
> D:\greptest>grep -ri "testtext" *.txt
> grep: *.txt: No such file or directory

That's cockpit error.  Try this instead:

  grep -ri "testtext" . --include="*.txt"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]