read s ( echo $s | grep -o '\(\^\^\*\)' | uniq -c | awk '{print $1;f=1}END{if(!f)print 0;}'; echo $s | grep -o '\(\*\^\^\)' | uniq -c | awk '{print $1;f=1}END{if(!f)print 0;}'; ) | tr '\n' ' ' echo