問題タブ [az]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
2059 参照

bash - Azure CLI を使用した Bash スクリプト

私はシェルスクリプトを初めて使用します。私は使用しようとしています

az sig image-version list

command from azure which should return a list of versions and storing it into a list/array. So I can step through the list in a for loop.

However, I am not sure if the command returns more than just the versions. If so how can I only take part of the output?

I am also having issue with displaying the populated list. I believe my syntax of using the azure cli to store in the list is wrong. any guidance is much appreciated.

リストを変数に正しく格納していますか?