Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Louis Santillan via Freedos-devel
On Fri, Feb 7, 2025 at 8:44 AM Bruno Ribeiro via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Hi Tom, > > On 7/2/2025 12:18, tom ehlert via Freedos-devel wrote: > > > >> Looking for a DOS-centric way of doing that. > > The DOS-centric way is not doing that at all. > > Hahaha... Ni

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
Hi Tom, On 7/2/2025 15:55, tom ehlert via Freedos-devel wrote: > >> It's a port of GNU grep 2.0 (1992). It does not support recursion by >> itself yet (-r). Therefore one would need a real mode port of GNU or >> BSD find, which unfortunately does not seem to be available for FreeDOS. > >> Cou

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Steve Nickolas via Freedos-devel
On Fri, 7 Feb 2025, tom ehlert via Freedos-devel wrote: It's a port of GNU grep 2.0 (1992). It does not support recursion by itself yet (-r). Therefore one would need a real mode port of GNU or BSD find, which unfortunately does not seem to be available for FreeDOS. Couple options then:

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread tom ehlert via Freedos-devel
> It's a port of GNU grep 2.0 (1992). It does not support recursion by > itself yet (-r). Therefore one would need a real mode port of GNU or > BSD find, which unfortunately does not seem to be available for FreeDOS. > Couple options then: > 1. Add /S support to FDOS FIND; > 2. Port GNU or B

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Steve Nickolas via Freedos-devel
On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: It's a port of GNU grep 2.0 (1992). It does not support recursion by itself yet (-r). Therefore one would need a real mode port of GNU or BSD find, which unfortunately does not seem to be available for FreeDOS. Not sure at what point

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
On 7/2/2025 13:58, Steve Nickolas via Freedos-devel wrote: > > It is my personal opinion that adding Win9x DOS or PC DOS 7 > functionality to FreeDOS would be perfectly fine since those features > are in the spirit of MS-DOS. (I strongly agree with that.) > I think DEVLOAD was added to FreeDOS

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Steve Nickolas via Freedos-devel
On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: On 7/2/2025 11:42, Steve Nickolas via Freedos-devel wrote: That makes sense. It's on keel with MS-DOS 6.22, which is FreeDOS' intention. I see. But that's more like the minimum goal of FreeDOS, right? To be at least as good as MS-

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
On 7/2/2025 13:41, tom ehlert via Freedos-devel wrote: > > 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". > Indeed. That (also) would be a useful contribution. _

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
Hi Tom, On 7/2/2025 12:18, tom ehlert via Freedos-devel wrote: > >> Looking for a DOS-centric way of doing that. > The DOS-centric way is not doing that at all. Hahaha... Nice. >> As last resort I know I >> can always install DJGPP's find and grep. > exactly. How about on 286- systems? __

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
On 7/2/2025 11:42, Steve Nickolas via Freedos-devel wrote: > On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: > >> Hi Steve, >> >> On 7/2/2025 10:51, Steve Nickolas via Freedos-devel wrote: >>> On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: >>> What's the DOS equivalent

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread tom ehlert via Freedos-devel
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 crite

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
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, h

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
Hi Fritz, On 7/2/2025 11:01, Fritz Mueller via Freedos-devel wrote: > I know that this is not what you wish, but with the live cd you get > doszip (dz) - and with this tool you can search for text within a file. How is it different from normal FIND? Does it give more versatility in searching? C

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread tom ehlert via Freedos-devel
> Looking for a DOS-centric way of doing that. The DOS-centric way is not doing that at all. > As last resort I know I > can always install DJGPP's find and grep. exactly. Tom ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net h

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Steve Nickolas via Freedos-devel
On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: Hi Steve, On 7/2/2025 10:51, Steve Nickolas via Freedos-devel wrote: On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: What's the DOS equivalent of the Unix find-grep combo for searching recursively within a directory all fi

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Fritz Mueller via Freedos-devel
beiro" Subject: Re: [Freedos-devel] Search all text file contents in directories recursively Hi Steve, On 7/2/2025 10:51, Steve Nickolas via Freedos-devel wrote: > On Fri, 7 Feb 2025, Bruno Ribeiro via Freedos-devel wrote: > >> What's the DOS equivalent of the Unix find-gr

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Eric Auer via Freedos-devel
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 "

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Bruno Ribeiro via Freedos-devel
Hi Steve, On 7/2/2025 10:51, Steve Nickolas via Freedos-devel wrote: > On Fri, 7 Feb 2025, Bruno Ribeiro 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 th

Re: [Freedos-devel] Search all text file contents in directories recursively

2025-02-07 Thread Steve Nickolas via Freedos-devel
On Fri, 7 Feb 2025, Bruno Ribeiro 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 w