On Jun 26, 12:06 pm, Nick Alexander <ncalexan...@gmail.com> wrote:
> > Where is the code for these sage -foo commands?
> > I found them once but have forgotten where they are.
>
> SAGE_ROOT/local/bin/sage-foo
Thanks.
> > but I don't know where find is used here. Does grep call find?
>
> Yes, depending on what parameters you give it. The string you give to
> search_doc is actually considered a shell command first and a regular
> expression second. Can you try "cannot\;" and "cannot\\;" (note
> slashes)? I am a little curious that just "cannot" fails at all.
I get the same result no matter what I put in. Even
sage: search_src("p-adics")
find: -exec: no terminating ";"
though in 4.0.1 that gets a page of hits.
I'm really sorry this is so weird. This is OSX.4 on a PPC, so perhaps
something got changed in those scripts recently?
- kcrisman
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---