#11959: Remove the necessity to set SAGE_PARALLEL_SPKG_BUILD
---------------------------+------------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.7.3
Component: build | Keywords: SAGE_PARALLEL_SPKG_BUILD MAKE -j
--jobs
Work_issues: | Upstream: N/A
Reviewer: | Author: John Palmieri
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by leif):
Replying to [comment:15 jhpalmieri]:
> Are multiline strings not a good idea for "echo"? If this sort of thing
is okay, it makes it much easier to edit the message.
`echo` has no problem with that, nor any ''reasonable'' shell. For larger
texts, you might get problems with the size of the environment on some
systems though. Note that
{{{
#!sh
$ echo "
one line
"
}}}
outputs ''three'' lines, the first and last being empty.
I'd prefer `cat` and "here" documents though (if at all). If you want to
focus on the code rather than the text, it's better to use a chain of
(properly indented) `echo` commands.
`bash` also supports indentation of "here" documents (that doesn't appear
in the output);
{{{
#!sh
$ cat <<-EOF
...
EOF
}}}
strips leading tabs from the text.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11959#comment:18>
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.