#11932: Allow running Sage with a temporary DOT_SAGE directory
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |          Owner:  leif         
       Type:  enhancement     |         Status:  needs_work   
   Priority:  major           |      Milestone:  sage-5.0     
  Component:  scripts         |       Keywords:               
Work_issues:                  |       Upstream:  N/A          
   Reviewer:  Jeroen Demeyer  |         Author:  John Palmieri
     Merged:                  |   Dependencies:  #11926       
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Okay, found it.  "sage" refers to the shell function
 {{{
 sage() {
     sage_setup
     sage-ipython "$@" -i
 }
 }}}
 We should probably rename this function to `run_sage` or so...

 In the mean time, replace `$SAGE_ROOT/sage "$@"` by
 {{{
 command sage "$@"
 }}}

 Help of command:
 {{{
 command: command [-pVv] command [arg ...]
     Execute a simple command or display information about commands.

     Runs COMMAND with ARGS suppressing  shell function lookup, or display
     information about the specified COMMANDs.  Can be used to invoke
 commands
     on disk when a function with the same name exists.

     Options:
       -p        use a default value for PATH that is guaranteed to find
 all of
         the standard utilities
       -v        print a description of COMMAND similar to the `type'
 builtin
       -V        print a more verbose description of each COMMAND

     Exit Status:
     Returns exit status of COMMAND, or failure if COMMAND is not found.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11932#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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.

Reply via email to