#11021: Fix "sage -info" and a bug when sourcing sage-env more than once
--------------------------------------------------------+-------------------
   Reporter:  jhpalmieri                                |          Owner:  leif 
                                                     
       Type:  defect                                    |         Status:  
needs_review                                              
   Priority:  major                                     |      Milestone:  
sage-4.7.1                                                
  Component:  packages                                  |       Keywords:  
SPKG.txt SAGE.txt -info BUILD sage-env sage-sage sage-spkg
Work_issues:                                            |       Upstream:  N/A  
                                                     
   Reviewer:  Kelvin Li, Leif Leonhardy, John Palmieri  |         Author:  Leif 
Leonhardy, Kelvin Li                                 
     Merged:                                            |   Dependencies:       
                                                     
--------------------------------------------------------+-------------------

Comment(by jhpalmieri):

 > MacOS... What does cat /dev/null | tar tf - give?

 {{{
 $ cat /dev/null | tar tf -
 $ echo $?
 0

 $ cat temp.pdf | tar jxf -
 tar: Unrecognized archive format: Inappropriate file type or format
 tar: Error exit delayed from previous errors.
 $ echo $?
 1
 }}}
 For the second example, the same thing happens with "tar xf" as with "tar
 jxf".  The man page for tar said nothing helpful about return codes.  It
 seems to be BSD tar, for what that's worth.

 > Well, sage -i pkg1 pkg2 ... behaves the same ("Installing pkg1 pkg2
 ...", and did before), but I can add commas to both -- easily, until we
 support (or use) spaces in spkg filenames...

 I don't care that much about it.  If you want to change it, that would be
 fine, but don't worry about it too much.

 > Agreed. I'd also remove long options with a single dash (i.e., only
 allow -- there), but others disagreed a while ago.

 I had a plan (at #21) to gradually phase them out, but that ticket has
 stalled.  There are also some issues with the approach there, and I'm not
 planning on working on it any time soon.

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