curl - bash variable subtitution in command until block -


i have trouble short code , can not resolve why it's not working,

r="12345" until $(curl --output /dev/null --silent --head --fail http://www.example.com/$r );     printf '.'     sleep 5 done 

the error near $r in $();.

i have wait end of curl request other stuff.

can please me resolving this?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -