turl=$(curl -d url="$1" http://tinyurl.com/create.php 2>/dev/null|grep "name=tinyurl"|sed 's/\"/ /g'| awk '{ print $5}' ) echo -en '***************************\nthe tinyurl generat0r.. :)*\n***************************\n\n->' $turl '\n\n' echo $turl | xsel