#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:54 embray]:
> > It's not silly, it's as documented. read -d'' -s ... is equivalent to
read -d '-s' ... (where only the first character of the string argument
'-s' is taken as the delimiter, as documented).
>
> Just because it's as documented (which I see now, on very careful read,
that the syntax must be `-d<space><delimiter>`). That's not
*unreasonable*, just different from how other commands (specifically
`cut`, which is why I was mentally comparing to) take their arguments.
You can't well argue that the syntax of shell commands is always logical
or consistent.
You were also passing an '''empty''' string, which gets removed altogether
in shell preparsing. (You could likely have written `re''ad ...` for
example... 8-) )
--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:62>
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.