mkdir -p /data/www/flowbilling/`echo ${arr[0]%/*}|sed 's/\/home\/www\/flowbilling-report\/TuikuanIamges\///g'`
Delete the number with subscript 0 in the arr array and delete all the values after the last "/".
Delete the URL path in the string. Pay attention to the escape character