Skip to content

Bug report: incorrect guidance for escaping quotes in *sh #2043

@waldekmastykarz

Description

@waldekmastykarz

In our guidance @ https://github.com/pnp/cli-microsoft365/blame/fea0c9ac7bf3dc8e54252011f2f253f81906b803/docs/docs/user-guide/using-cli.md#L52-L56 we mention that values with quotes in *sh should be escaped with a single quote and backtick. This is incorrect. To escape a value with double quotes all you need is the single quote. If you add a backtick, *sh will try to process the value which will lead to errors. This behavior might have changed when we moved away from Vorpal which did some extra processing for option values with spaces.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions