#!/bin/bashsum=0for a in `cat file`doif [ $a > "100" ]thensum= `expr $sum + $a `elsecontinuefidoneecho $sum