I have following zsh and I run this
zsh
mysql=/usr/bin/mysql rdsCnf=/usr/etc/my.cnf for i in $list; do sql=$(sed -e "s|target|$i|g"