> > > read x > > > x=`echo $x | sed 's/[^0-9.]//g'` > > > > 10x dar m-am exprimat greshit. > > vreau ca scriptul sa dea un mesaj de eroare daca utilizatorul introduce > alte > > caractere in afara de cifre shi ".". > so? > > y=`echo $x | sed 's/[^0-9.]//g'` > if [ "$x" != "$y" ] ; then > echo "bummer"; > exit; > fi
10x m-am gandit mult cand am raspuns :) -- Lentila de Vultur "Daca tu nu eshti paranoic nu inseamna ca ei nu te urmaresc." Sent through GMX FreeMail - http://www.gmx.net --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
