On Jan 3, 10:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm not sure if this is a bug with sage or with something on my > systems (various Fedora releases). As described at > http://sagemath.org/doc/html/tut/node49.html, I try to create a stand- > alone sage script: > > Using "#!/usr/bin/env sage -python" fails with a message that seems to > defy the env man page: > [EMAIL PROTECTED] ~]$ ./factor.sage > /usr/bin/env: sage -python: No such file or directory > > Using just "#!/usr/bin/env sage" works: > > [EMAIL PROTECTED] ~]$ ./factor.sage 20 > 2^2 * 5
According to http://en.wikipedia.org/wiki/Shebang_(Unix) "Some systems do not split up the arguments", which is the problem here. Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---