#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-7.3
Component: build | Resolution:
Keywords: | Merged in:
Authors: Erik Bray | Reviewers: Dima Pasechnik,
| Matthias Koeppe
Report Upstream: N/A | Work issues:
Branch: | Commit:
705573623266f1017aa4a433e816c0e878960836|
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by leif):
Replying to [comment:65 embray]:
> > You were not using bash's built-in test `[[ ]]`
>
> No, I was using bash's built-in test `[ ]`. This is still a bash built-
in--it does not run as a separate process. The only difference between `[
]` and `[[ ]]` is that the latter is bash-specific and less portable. But
when run explicitly in bash, as opposed to an arbitrary shell, `test` is
still a shell built-in.
Oh, that's new (to me m) and presumably to bash versions that aren't ages
old)...
Still, `[[` is reproducibly faster for me (bash 4.1.5) -- just retested
ten times each (with just 0.5 MB input).
--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:68>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.