Skip to content
Prev 243944 / 398506 Next

grep for strings

On Sun, 5 Dec 2010, Santosh Srinivas wrote:

            
Correct, but reading

 	?grep

and running

 	example( grep )

should show you how to do that search.
You will need to deal with the possibility that there are more 'cd's in 
some elements of 'text' than in others.

So, it is not obvious that an _array_ will work without some special 
tooling.

HTH,

Chuck
Charles C. Berry                            Dept of Family/Preventive Medicine
cberry at tajo.ucsd.edu			    UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901