#!/bin/sh -fv while read line | `$size -gt "2000"` ; do size=`echo $line|cut -f 5 -d' '` file=`echo $line|cut -f 9 -d' '` if [ $size -gt "2000" ]; then echo $size,$file fi done < /tmp/tmpmq.txt