#9434: Stop greping for a non-existent sage-banner
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by leif):
Replying to [comment:3 drkirkby]:
> * I was not aware of that shorter sed sequence. I just found the 'cat'
a bit amuzing.
Yes, though I love cats. One of my favorites is:
{{{
#!sh
sed -n "/[Vv]ersion/s/ *| *//gp" $SAGE_LOCAL/bin/sage-banner
}}}
(Spaces in {{{$SAGE_LOCAL}}} are forbidden, otherwise we'd need quotes
there.)
Note that the original version gives two lines for non-finals; it does
'''not''' remove the vertical bars (nor the whitespace) because the pipe
symbol is "superfluously" escaped: :)
{{{
#!sh
lei...@portland:~/Sage/sage-4.5.alpha4-serial$ ./sage -v
| Sage Version 4.5.alpha4, Release Date: 2010-07-06 |
* Warning: this is a prerelease version, and it may be unstable. *
}}}
More important, the discussion is still somewhat off-topic or off-ticket,
since - as mentioned - the error messages do not originate from {{{sage-
sage}}}, so the issue has to be fixed elsewhere.
> I'll have to look at this, but its not exactly the most serious Sage
bug.
Obviously, I agree.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9434#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 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.