Hallo Herr Bruno Ribeiro via Freedos-devel,

am Freitag, 7. Februar 2025 um 17:28 schrieben Sie:

> On 7/2/2025 11:00, Eric Auer via Freedos-devel wrote:
>> 
>>>> What's the DOS equivalent of the Unix find-grep combo for searching
>>>> recursively within a directory all files matching a given criteria for
>>>> strings within them matching a given expression?
>>>>
>>>> Put in other words, more simply, how do I find within \freedos hierarchy
>>>> which text files have the string "foobar" occurring in them?
>>>>
>>>> Looking for a DOS-centric way of doing that.  As last resort I know I
>>>> can always install DJGPP's find and grep.
>> 
>> That would actually be a good way to do it, if you ask me :-)

> Practically, 100% agree!  Theoretically, my problem with it is twofold:

> 1. GNU's not DOS ;)

> 2. Seriously, though, that's not viable for anyone running DOS on a 286-
> system.

> I think a 8086 FreeDOS system should be able to at least automatically
> and recursively search for fixed strings within all text files within a
> given directory.

You asked for an opportunity to contribute. Here is your first opportunity to 
be useful: 
teach FIND to search recursively; and while you are at it, teach it 
"expressions".

Tom



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to