Open2

bash で複数の変数を同時にループ処理もどき (Height x Width)

PINTOPINTO
RESOLUTION_LIST=(
    "192 320"
    "256 320"
    "256 416"
    "288 480"
    "384 640"
    "384 1280"
    "480 640"
    "480 800"
    "736 1280"
)
for((i=0; i<${#RESOLUTION_LIST[@]}; i++))
do
    HWs=(`echo ${RESOLUTION_LIST[i]}`)
    H=${HWs[0]}
    W=${HWs[1]}
    echo @@@@@@@@@@@@@@@@@ processing ${H}x${W} ...
done
PINTOPINTO
@@@@@@@@@@@@@@@@@ processing 192x320 ...
@@@@@@@@@@@@@@@@@ processing 256x320 ...
@@@@@@@@@@@@@@@@@ processing 256x416 ...
@@@@@@@@@@@@@@@@@ processing 288x480 ...
@@@@@@@@@@@@@@@@@ processing 384x640 ...
@@@@@@@@@@@@@@@@@ processing 384x1280 ...
@@@@@@@@@@@@@@@@@ processing 480x640 ...
@@@@@@@@@@@@@@@@@ processing 480x800 ...
@@@@@@@@@@@@@@@@@ processing 736x1280 ...