Skip to content

[BUG] CLI parser should ignore $(..) #338

@jayvdb

Description

@jayvdb

Describe the bug
The CLI parser should ignore commands including $(...) and other unknown shell syntax.

To Reproduce
Steps to reproduce the behavior:

  1. sudo zypper in $(grep BuildRequires ../../../*.spec | sed -e 's/BuildRequires://')

Result:

Mirror this command?

  • BuildRequires (Command-line interface to ZYpp system management library)

Expected behavior
emplace should skip the command line.

Desktop (please complete the following information):

  • OS: Linux
  • Shell: Bash

Additional context

Machine information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions