how about using:

find . -name "*.pyx" -exec touch {} \;



William A. Stein wrote:
On May 23, 2010, at 1:12 PM, leif wrote:

On 23 Mai, 21:40, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
'lcalc' had a particularly annoying attempt to cover up warnings from the
assembler, as it actually caused the build to break on Solaris, as the option to
cover up the warnings was passed directly to the Sun assembler, but it did not
accept the option.
They seem to think gcc (the compiler driver) will be smart enough to
know all options passed to any component of the tool chain, even if
passed verbatim ;-)

IMHO, the quality of the coding in Sage leaves a lot to be desired in places.
One of my current favorites is a snippet from sage-build:

  cd "$SAGE_ROOT/devel/sage/sage"
  echo "*** TOUCHING ALL CYTHON (.pyx) FILES ***"
  touch */*.pyx */*/*.pyx */*/*/*.pyx */*/*/*/*.pyx */*/*/*/*/*.pyx */
*/*/*/*/*.pyx  */*/*/*/*/*/*.pyx 2> /dev/null

Reminds me of M$-DOS, where the "shell" did not expand wildcards. (If
you have fun, count the asterisks...)

-Leif

Instead of keeping this as a favorite, implement a better version, and post a 
patch.

 -- William

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to