Ohhh.. You are right, sorry It work but it show only bar... Can we somehow combine it with your previous script where we can see the percentage status too ?: Code: download() { local url=$1 echo -n " " wget --progress=dot $url 2>&1 | /opt/N9QTweak/SYS/bin/grep --line-buffered "%" | \ /opt/N9QTweak/SYS/bin/sed -u -e "s,\.,,g" | awk '{printf("\b\b\b\b%4s", $2)}' echo -ne "\b\b\b\b" echo " DONE" } file="http://dl.dropbox.com/u/17706605/N9_QuickTweak_en_v9.4.pdf" echo -n "Downloading status:" download "$file"
download() { local url=$1 echo -n " " wget --progress=dot $url 2>&1 | /opt/N9QTweak/SYS/bin/grep --line-buffered "%" | \ /opt/N9QTweak/SYS/bin/sed -u -e "s,\.,,g" | awk '{printf("\b\b\b\b%4s", $2)}' echo -ne "\b\b\b\b" echo " DONE" } file="http://dl.dropbox.com/u/17706605/N9_QuickTweak_en_v9.4.pdf" echo -n "Downloading status:" download "$file"
[===== ] 50%