here document + pipe inside COMSUB broken

Bug #1783355 reported by Thorsten Glaser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mksh
Fix Released
Medium
Unassigned

Bug Description

tglase@tglase:~ $ mksh x
Foo
BlA9907BAr
try2
x: syntax error: unexpected '|'
1|tglase@tglase:~ $ bash x
Foo
BlA9910BAr
try2
<Foo
BlA9910BAr>
tglase@tglase:~ $ ksh93 x
Foo
BlA9917BAr
try2
<Foo
BlA9917BAr>

Revision history for this message
Thorsten Glaser (mirabilos) wrote :
Revision history for this message
Thorsten Glaser (mirabilos) wrote :

Syntax is valid POSuX as per https://stackoverflow.com/a/7046926/2171120

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

The entire tree printing code is currently not suited for that, a major rewrite is needed.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

fixed in R59c, hopefully without breaking anything more

Changed in mksh:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.