Skip to content

json path query results shouldn't have trailing \r #8348

@colemickens

Description

@colemickens
imgid="$(az image show -n "${d}" -g "${rg}" --q "[id]" -o tsv)"
az vm create ... "${imgid}"

results in:

az vm create ... $'/subs.../snip.vhd\r'

Hard to imagine how this is helpful for anyone. It'd be nice if I didn't have to run these types of commands through tr just to use them in scripts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions