Skip to content

Bug: prefix substitution does not work with empty prefix string #948

Description

@solidDoWant

When using a prefix substitution with an empty string (e.g. ${SOME_VAR/#""/prefix-}), Flux fails to replace the prefix. No error is reported; flux simply does not replace the value. This is valid in bash as shown below:

$ v=somevalue
$ echo "${v/#""/prefix-}"
prefix-somevalue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions