#10339: Simplify spkg/pipestatus
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  GeorgSWeber        
       Type:  defect          |      Status:  needs_work         
   Priority:  major           |   Milestone:  sage-4.6.1         
  Component:  build           |    Keywords:  pipestatus Makefile
     Author:  Jeroen Demeyer  |    Upstream:  N/A                
   Reviewer:  Leif Leonhardy  |      Merged:                     
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by leif):

 Finally, perhaps we should simply rename the script and just let it do
 what we mainly need:

 {{{
 tee_output_of_commands <string of commands> <logfile>
 }}}
 (where `<logfile>` might also be `"-a some_file"`)

 and let it just do the equivalent of
 {{{
 set -o pipefail; ( <commands> ) | tee <logfile>
 }}}
 (where in the script `<commands>` would be `eval "$1"` and `<logfile>`
 would be `$2`, '''without''' quotes).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10339#comment:38>
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