#11993: Fix output of `sage --version`
-----------------------+----------------------------------------------------
Reporter: leif | Owner: leif
Type: defect | Status: new
Priority: minor | Milestone: sage-4.8
Component: scripts | Keywords: banner
Work_issues: | Upstream: N/A
Reviewer: | Author: Leif Leonhardy
Merged: | Dependencies:
-----------------------+----------------------------------------------------
The one who was aiming at the ''Useless Use of `cat` Award'' ![1]
unfortunately did some wrong escaping, so we currently get for example:
{{{
#!sh
$ ./sage --version
| Sage Version 4.7.2.alpha3-pre7-without-examples, Release Date:
2011-09-28 |
* Warning: this is a prerelease version, and it may be unstable. *
}}}
Also, I don't think the second line should be printed, hence the new
version also case-sensitively "greps" for `Version`, such that we get:
{{{
#!sh
$ ./sage --version
Sage Version 4.7.2.alpha3-pre7-without-examples, Release Date: 2011-09-28
}}}
----
![1] http://partmaps.org/era/unix/award.html
See also [http://uselessuseofcat.com/?p=346 The Tragedy of Bash].
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11993>
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.