#5806: [with patch, needs review] Sage 3.4.1.rc3: failing test
"devel/sage/sage/misc/sagedoc.py"
---------------------+------------------------------------------------------
Reporter: jsp | Owner: cwitty
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0.1
Component: misc | Keywords:
---------------------+------------------------------------------------------
Comment(by jhpalmieri):
This seems to break {{{search_src}}} on my mac:
{{{
sage: len(search_src("matrix", interact=False).splitlines())
0
sage: search_src("matrix", interact=False)
''
sage: search_src("matrix")
}}}
The problem is the find command, as you suspected. By using the
[http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/find.1.html
man page] and a lot of trial and error, I found that a command something
like this one works:
{{{
find -f /Applications/sage/devel/sage/sage ".*\\.\\(py\\|pyx\\|pxd\\)"
-exec grep -i -H matrix {} +
}}}
although this isn't right either. I actually really hate the find
command...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806#comment:21>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---