#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):

 P.S.:

 While with my approach one can force the behavoir Jeroen expects (by using
 parentheses), the opposite is impossible. On the other hand, one ''could''
 of course also do something like
 {{{
 #!sh
 $ A && pipestatus "B" "C"
 }}}
 to get the behavior of
 {{{
 #!sh
 $ A && B | C  # same as  pipestatus "A && B" "C"  with my version
 }}}
 with Jeroen's version, but that's IMHO odd, at least in Makefiles where we
 mainly use it (and `A` there would potentially be executed by a
 ''different'' shell than the parameters to `pipestatus`, `B` and `C`).

 The name of the script (and the current "syntax description") suggests not
 to use other things than simple commands for each of the two parameters
 anyway I think.

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