Skip to content

Quoted backtick command substitution replacement doesn't unescape quotes #1083

Closed

Description

@Ashymad

Before formatting:

$ echo "`echo \"foobar\"`"
foobar

After formatting:

$ echo "$(echo \"foobar\")"
"foobar"

Solution: quotes in a quoted backtick substitution should be unescaped

$ echo "$(echo "foobar")"
foobar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions