Mail Archives: djgpp-workers/2002/11/28/01:21:08
On 27 Nov 2002, Tim Van Holder wrote:
> > DJGPP_204 C:\dj204\tmp>grep -r "ddd" C:\dj204\tmp\*
> > grep: C:\dj204\tmp\RHaaaaaa: Permission denied (EACCES)
> > grep: C:\dj204\tmp\RHbaaaaa: Permission denied (EACCES)
> > grep: C:\dj204\tmp\cvs: Permission denied (EACCES)
>
> Sounds like directories (especially the 'cvs' one), which suggests that
> grep is reading directories (which is the default, though perhaps it
> shouldn't be on DOSish systems).
In previous versions of Grep, not reading directories was indeed the
default for DJGPP. Pewrhaps someone should send patches to the Grep
maintainer.
> > DJGPP_204 C:\dj204\tmp>grep "ddd" ...\*
>
> Is .../blah* supposed to ever match directories?
Yes, it matches all files and directories, recursively.
- Raw text -