v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
657 stars 58 forks source link

output error with spaces? #128

Closed eexpress closed 3 years ago

eexpress commented 3 years ago

multi spaces in list:

list=("vss-freefq   9.json"); yad --geometry=500x500+100+100 --close-on-unfocus --list --column="protocol" -window-icon=network-vpn "${list[@]}"
vss-freefq   9.json|

and

list=("vss-freefq   9.json"); key=`yad --geometry=500x500+100+100 --close-on-unfocus --list --column="protocol" -window-icon=network-vpn "${list[@]}"`; echo $key
vss-freefq 9.json|

why is the defferent result? Does yad deal it defferentlly?

eexpress commented 3 years ago

bash problem