#15072: sage --version hangs on MacOS
---------------------------------+-------------------------
       Reporter:  aschilling     |        Owner:
           Type:  defect         |       Status:  new
       Priority:  blocker        |    Milestone:  sage-5.12
      Component:  PLEASE CHANGE  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-------------------------

Comment (by vbraun):

 {{{
 cloud:~ vbraun$ cat sage-banner
 ┌────────────────────────────────────────────────────────────────────┐
 │ Sage Version 5.12.beta2, Release Date: 2013-08-20                  │
 │ Type "notebook()" for the browser-based notebook interface.        │
 │ Type "help()" for help.                                            │
 └────────────────────────────────────────────────────────────────────┘
 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 cloud:~ vbraun$ sed -n -e 's/.*\(Sage Version.*Date: [0-9-]*\).*/\1/p'
 ./sage-banner
 Sage Version 5.12.beta2, Release Date: 2013-08-20
 cloud:~ vbraun$ echo $LANG

 cloud:~ vbraun$ LANG=C sed -n -e 's/.*\(Sage Version.*Date:
 [0-9-]*\).*/\1/p' ./sage-banner
 Sage Version 5.12.beta2, Release Date: 2013-08-20
 cloud:~ vbraun$ LANG=fr sed -n -e 's/.*\(Sage Version.*Date:
 [0-9-]*\).*/\1/p' ./sage-banner
 Sage Version 5.12.beta2, Release Date: 2013-08-20
 cloud:~ vbraun$ LANG=en_US sed -n -e 's/.*\(Sage Version.*Date:
 [0-9-]*\).*/\1/p' ./sage-banner
 ^C
 }}}
 The last one hangs, sed on OSX has apparently some serious braindamage.

--
Ticket URL: <http://trac.sagemath.org/ticket/15072#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to