What's the best way to update a variable indirectly, e.g. when its name is
passed to an update function? Since I wrote the functions below some time
ago and I've wondered whether there might be a better way. It would be
nice if indirect parameter assignment was as easy as indirect parameter
acces
Greg Wooledge writes:
> If your actual problem is "Find all the files containing the string
> StateRB, and suppress all error messages", then use this:
>
> find . -type f -exec grep -l StateRB {} \; 2>/dev/null
Or with a recent version of find (also POSIX):
$ find . -type f -exec grep -l StateR
On Wed, May 06, 2009 at 04:03:51PM +0200, Roman Rakus wrote:
> On 05/06/2009 02:14 PM, cseguino wrote:
> > $ find . | xargs grep -v "No such file or directory" | grep "StateRB"
> > grep:
> >./Tiger/codebase/netmarkets/jsp/ext/eurocopter/tiger/change/.svn/text-base/Copy:
> >No such file or
On Wednesday 06 May 2009 10:03:51 Roman Rakus wrote:
> On 05/06/2009 02:14 PM, cseguino wrote:
> > $ find . | xargs grep -v "No such file or directory" | grep
> > "StateRB" grep:
> > ./Tiger/codebase/netmarkets/jsp/ext/eurocopter/tiger/change/.svn/text-bas
> >e/Copy: No such file or directory
On Wednesday 06 May 2009 08:14:03 cseguino wrote:
> $ find . | xargs grep -v "No such file or directory" | grep "StateRB"
> grep:
> ./Tiger/codebase/netmarkets/jsp/ext/eurocopter/tiger/change/.svn/text-base/
>Copy: No such file or directory
> grep: of: No such file or directory
> gr
On 05/06/2009 02:14 PM, cseguino wrote:
Hello,
I'm executing the following command using cygwin :
$ find . | xargs grep -v "No such file or directory" | grep "StateRB"
grep:
./Tiger/codebase/netmarkets/jsp/ext/eurocopter/tiger/change/.svn/text-base/Copy:
No such file or directory
Hello,
I'm executing the following command using cygwin :
$ find . | xargs grep -v "No such file or directory" | grep "StateRB"
grep:
./Tiger/codebase/netmarkets/jsp/ext/eurocopter/tiger/change/.svn/text-base/Copy:
No such file or directory
grep: of: No such file or directory
gr