remove string from field "beta:23.52"
grant@peetoo:~$ echo "alpha, beta:23.52, 21.46" | awk -F, '{print $2}'| cut -d ":" -f 2
23.52
grant@peetoo:~$ echo "alpha, beta:23.52, 21.46" | awk -F, '{split($2,k,":");print k[2]}'
23.52
Grant.
--
.... The computer scientist, who had listened to all of this said,
"Yes, but where do you think the chaos came from?"
|