*just* -r will satisfy?
or will we have to add stuff that tw does in its sleep too:
  -d, --directories=ACTION  how to handle directories
                            ACTION is 'read', 'recurse', or 'skip'
  -D, --devices=ACTION      how to handle devices, FIFOs and sockets
                            ACTION is 'read' or 'skip'
      --include=PATTERN     files that match PATTERN will be examined
      --exclude=PATTERN     files that match PATTERN will be skipped.
      --exclude-from=FILE   files that match PATTERN in FILE will be skipped.

On Wed, 28 Jul 2010 20:32:26 +0200 Chris Pickett wrote:
> On Tue, Jul 20, 2010 at 9:38 PM, David Korn <[email protected]> wrote:
> > Subject: Re: [ast-developers] Feature request: AST grep -r
> > --------
> >
> >
> >> I like to request that AST grep gets GNU grep's option -r to
> >> recursively search a directory tree. IMO AST grep is superior to GNU
> >> grep but the lack of easy search with GNU grep -r forces me to pick
> >> GNU grep on such occasion :(
> >>
> >> Chris
> >>
> >
> > Did you consider using
> >        tw grep
> > for this?
> >
> > Another alternative with ksh93 is to use
> >        set -o globstar
> >        alias grep='command -x grep'
> >        grep pattern **/*

> The problem is that I have to educate EVERY user in our system. Most
> people learned Unix through Linux and almost every "Linux for Dummies"
> book tells it's users to use grep -r string dir to search your home
> directory.
> The situation is hopeless.

> Chris
> -- 
>     ^---^
>    (@)v(@)  Chris Pickett
>    |    /   IT consultant
>  ===m==m=== [email protected]
> _______________________________________________
> ast-developers mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-developers

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to