8000 Weird brace expansion behavior with multiple commas · Issue #3002 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Weird brace expansion behavior with multiple commas #3002

@andgra2

Description

@andgra2

The brace expansion in x{,,}y does not work correctly.

Reproduction Steps:

  1. Run the following command: echo x{,,}y

Expected behavior:

The output should be: xy xy xy

This is also the output that bash gives.

Observed behaviour:

The observed output: xy x,y

Looks like fish incorrectly thinks that we wrote echo x{,\,}y

Additional information:


Fish version: fish, version 2.2.0-876-g1c6f6df

Operating system: ubuntu 64-bit, installed fish from github source code.

Terminal or terminal emulator: neo vims built in terminal emulator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0