Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Backticks nested in $( ) result in misdirected output #478

@sckendall2

Description

@sckendall2

In the following, either the /bin/echo command or the first print command must be sending their output directly to the script's stdout:

$ foo=$(print `/bin/echo bar`)   # should print nothing
bar
$ print foo=$foo                 # should print "foo=bar"
foo=
$ 

This bug is in the latest code, fetched earlier today. It's a regression from older versions of ksh93, such as the one that ships with RHEL 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions