here document + pipe inside COMSUB broken

Bug #1783355 reported by Thorsten Glaser on 2018-07-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mksh
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>

Thorsten Glaser (mirabilos) wrote :
Thorsten Glaser (mirabilos) wrote :

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

Thorsten Glaser (mirabilos) wrote :

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments