#9530: Improve/fix readline workarounds for Arch Linux and openSuSE, again
broken
on OpenSuSE 11.2 and 11.3
------------------------------+---------------------------------------------
Reporter: baechler | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-4.6
Component: build | Keywords: Arch Linux SuSE readline
Author: Thomas Bächler | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by drkirkby):
I believe the {{{cp -a}}} will only be executed on Linux, so it's not a
massive problem here, but note that is note that {{{-a}}} is not an option
defined by POSIX, so is unportable and will break on some systems. Was
there a good reason for using {{{-a}}}? Unless there was, it would be good
to get into the habbit of using a more portable alternative - I suspect
{{{-p}}} would have done the job here.
As always, one can get an alphabetical list of the commands at:
http://opengroup.org/onlinepubs/007908799/idx/index.html
and in particular for 'cp':
http://opengroup.org/onlinepubs/007908799/xcu/cp.html
Note the '''only''' portable options are {{{-f}}}, {{{-i}}}, {{{-p}}} ,
{{{-r}}} and {{{-R}}}.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9530#comment:28>
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.